so SirDice in your opinion, what should i do to the routing table so that freebsd can access the internet via openvpn tun0, while accepting incoming connection from the internet to the eth0?
for your information, the eth0 is connected to the internet via gateway that has incoming port forwarding some port to the freebsd's eth0
when the openvpn command launced, the freebsd machine connected to the internet through tun0 while blocking incoming internet access to the eth0, which only allow incoming from lan only.
i already view the routing table via netstat -rn and i couldn't notice which line should be removed.
i don't have any problem with windows openvpn. in windows, i can connect to the vpn, using vpn internet connection which accepting incoming connection from the internet to lan via port forwarding.
thank you
sans
for your information, the eth0 is connected to the internet via gateway that has incoming port forwarding some port to the freebsd's eth0
when the openvpn command launced, the freebsd machine connected to the internet through tun0 while blocking incoming internet access to the eth0, which only allow incoming from lan only.
i already view the routing table via netstat -rn and i couldn't notice which line should be removed.
i don't have any problem with windows openvpn. in windows, i can connect to the vpn, using vpn internet connection which accepting incoming connection from the internet to lan via port forwarding.
thank you
sans