traffic issue

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

traffic issue

ravi new
Hi all,

I am using OPEN BSD 5.6. It was installed on VM and pf.conf modified with
new rule which passes traffic from internet to client running on 8080 port.
Everything is working fine.

But ,Same openbsd 5.6 installed on physical hardware with two interfaces
such as  em0 and em1. Here, internet traffic is coming to em0 interface but
not going to em1 interface .what will be the problem.

net.inet.ip.forwarding=1  # already set in sysctl.conf in ./etc folder.

Can you tell me solution.

with regards
ravi
Reply | Threaded
Open this post in threaded view
|

Re: traffic issue

Solene Rapenne
Le 2019-06-06 08:33, ravi new a écrit :

> Hi all,
>
> I am using OPEN BSD 5.6. It was installed on VM and pf.conf modified
> with
> new rule which passes traffic from internet to client running on 8080
> port.
> Everything is working fine.
>
> But ,Same openbsd 5.6 installed on physical hardware with two
> interfaces
> such as  em0 and em1. Here, internet traffic is coming to em0 interface
> but
> not going to em1 interface .what will be the problem.
>
> net.inet.ip.forwarding=1  # already set in sysctl.conf in ./etc folder.
>
> Can you tell me solution.
>
> with regards
> ravi

are you really using 5.6 or did you mean 6.5, the latest release?

Reply | Threaded
Open this post in threaded view
|

Re: traffic issue

Stuart Henderson
In reply to this post by ravi new
On 2019/06/06 12:03, ravi new wrote:

> Hi all,
>
> I am using OPEN BSD 5.6. It was installed on VM and pf.conf modified with
> new rule which passes traffic from internet to client running on 8080 port.
> Everything is working fine.
>
> But ,Same openbsd 5.6 installed on physical hardware with two interfaces
> such as  em0 and em1. Here, internet traffic is coming to em0 interface but
> not going to em1 interface .what will be the problem.
>
> net.inet.ip.forwarding=1  # already set in sysctl.conf in ./etc folder.
>
> Can you tell me solution.
>
> with regards
> ravi

Try tarring up /etc on the working machine, copy it to the non-working one
and extracting it to a temporary directory, and using diff(1) to see what
you missed.

Or alternatively, diff against files from a clean install to see what was
changed.

When you've figured it out I would suggest using that information to
rebuild on 6.5. 5.6 is pretty old now - OpenBSD does not have LTS
releases and you need to keep on the newest release or newest-1 in order
to get security fixes or anything more than fairly general help for any
problems you run into.

Reply | Threaded
Open this post in threaded view
|

Re: traffic issue

ravi new
Thank you.
I will try as you said and i come back to you.


On Thu, Jun 6, 2019 at 3:08 PM Stuart Henderson <[hidden email]> wrote:

> On 2019/06/06 12:03, ravi new wrote:
> > Hi all,
> >
> > I am using OPEN BSD 5.6. It was installed on VM and pf.conf modified with
> > new rule which passes traffic from internet to client running on 8080
> port.
> > Everything is working fine.
> >
> > But ,Same openbsd 5.6 installed on physical hardware with two interfaces
> > such as  em0 and em1. Here, internet traffic is coming to em0 interface
> but
> > not going to em1 interface .what will be the problem.
> >
> > net.inet.ip.forwarding=1  # already set in sysctl.conf in ./etc folder.
> >
> > Can you tell me solution.
> >
> > with regards
> > ravi
>
> Try tarring up /etc on the working machine, copy it to the non-working one
> and extracting it to a temporary directory, and using diff(1) to see what
> you missed.
>
> Or alternatively, diff against files from a clean install to see what was
> changed.
>
> When you've figured it out I would suggest using that information to
> rebuild on 6.5. 5.6 is pretty old now - OpenBSD does not have LTS
> releases and you need to keep on the newest release or newest-1 in order
> to get security fixes or anything more than fairly general help for any
> problems you run into.
>
>