View Single Post
  #1   (View Single Post)  
Old 2nd July 2009
Tritone Tritone is offline
New User
 
Join Date: Jul 2009
Posts: 2
Default OpenBSD, vpnc and packets forwarding problems

Hi,
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

Code:
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
There is NO firewall setted up on the VMWare Host side.

Does someone knows what wrong?

Thank you for your help
Reply With Quote