OpenBSD, vpnc and packets forwarding problems
I am building a simple router based on OpenBSD 4.5 installed on VMware Server 2.0.1 which should allow me to connect all my network hosts to a VPN.
Because the VPN is a Cisco VPN I am using vpnc 0.5.3 (which I compiled with OpenSSL support).
The connection to the VPN starts correctly and I receive all the networks present on the Cisco aggregator.
From this point I have several problems:
1) I can not ping the interface tun0 (from OpenBSD), no way, also configuring PF to pass in all and out all.
2) I can not ping hosts in the VPN (from OpenBSD and all clients on my network)
I premise that i have enabled net.inet.ip.forwarding (so set it to 1) and ATM there is no blocking rules on pf.
here is my pf.conf file
set skip on lo EXT = "tun0" # This is the vpnc connection INT = "vic0" # This is the VMware network card which is BRIDGED on the host network card LAN_clients = "192.168.0.0/24" nat on $EXT from $LAN_clients to any -> ($EXT) pass in all pass out all
Does someone knows what wrong?
Thank you for your help
|Thread||Thread Starter||Forum||Replies||Last Post|
|x11 forwarding over ssh not working||kasse||OpenBSD General||14||23rd December 2008 02:21 PM|
|port forwarding||ikevmowe||OpenBSD Security||13||21st November 2008 06:03 PM|
|VNC port forwarding help||revzalot||OpenBSD Security||3||10th September 2008 07:59 AM|
|Redirecting ESP packets||ales||OpenBSD Security||2||15th June 2008 10:13 PM|
|IPF: Packets Out Of Window||bram85||FreeBSD Security||9||2nd June 2008 05:09 PM|