Quote:
Originally Posted by J65nko
|
im having a hard time getting it to work.
i can ping from re0 to the router but i cannot ping re1 to the laptop.
What am I doing wrong
Code:
/etc/hostname.re0
dhcp
Code:
/etc/hostname.re1
10.0.0.50
Code:
/etc/mygate
10.0.0.1
Code:
/etc/pf.conf
EXT_NIC="re0"
INT_NIC="re1"
nat on $EXT_NIC from $INT_NIC to any -> ($EXT_NIC)
pass in on $INT_NIC from any to any
pass all in on $EXT_NIC from any to any
pass all out on $INT_NIC from any to any
pass all out on $EXT_NIC from any to any
The router is handing out an ip address of 10.0.0.1 to the openbsd server re0.
What do I need to do to make the bsd box route traffic to 10.0.0.50?