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.
