DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
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 06:59 AM
Redirecting ESP packets ales OpenBSD Security 2 15th June 2008 09:13 PM
IPF: Packets Out Of Window bram85 FreeBSD Security 9 2nd June 2008 04:09 PM


All times are GMT. The time now is 10:36 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick