New user bridge help

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Locked
bilbonvidia
OpenVpn Newbie
Posts: 4
Joined: Tue Jun 07, 2011 9:54 pm

New user bridge help

Post by bilbonvidia » Tue Jun 07, 2011 10:05 pm

Hello, I have been looking at the guides on the open dns website and am trying to set up a bridge connection. I have created the bridge on my windows 7 machine and assigned a static address to the bridge. I can get connected to my vpn server windows 7 machine and the tap adapter on my windows 7 client gets an ip address but I cannot ping anything on my lan. I was wondering if I had missed anything. (firewalls disabled) heres my files:

server:
port 443
proto tcp
dev tap
dev-node tap-bridge
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
server-bridge 192.168.0.3 255.255.255.0 192.168.0.100 192.168.0.110
client-to-client
keepalive 10 120
cipher AES-256-CBC
persist-key
persist-tun
verb 3
mute 20


client:
client
dev tap
proto tcp
remote mydyndnsaddy 443
resolv-retry infinite
nobind
tls-client
persist-key
persist-tun
mute-replay-warnings
ca ca.crt
cert client1.crt
key client1.key
cipher AES-256-CBC
comp-lzo
verb 3

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: New user bridge help

Post by maikcat » Wed Jun 08, 2011 7:09 am

hi there,

just checking..

are you using openvpn ver 2.1 and above?
did you rename your bridge connection to tap-bridge ?
192.168.0.3 is the openvpn servers ip?
did you enabled ip forwarding to your server?

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

bilbonvidia
OpenVpn Newbie
Posts: 4
Joined: Tue Jun 07, 2011 9:54 pm

Re: New user bridge help

Post by bilbonvidia » Wed Jun 08, 2011 10:30 am

Hi Mike Thanks for responding. I am using 2.1 and above and yes the bridge connection is tap-bridge which had originally caught me out. Yes 192.168.0.3 is tthe servers ip.

I dont think that I have enable ip forwarding, how is that done? Is that still needed when bridging?

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: New user bridge help

Post by janjust » Wed Jun 08, 2011 10:44 am

on windows, IP forwarding is enabled using a registry key

Code: Select all

Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
Value: IPEnableRouter
Type: REG_DWORD
Data: 0x00000001 (1)
reboot the machine after enabling IP forwarding.

bilbonvidia
OpenVpn Newbie
Posts: 4
Joined: Tue Jun 07, 2011 9:54 pm

Re: New user bridge help

Post by bilbonvidia » Wed Jun 08, 2011 11:20 am

Thank you, is this the for the VPN server?

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: New user bridge help

Post by janjust » Wed Jun 08, 2011 12:32 pm

yes , this needs to be done on the machine running the bridge; I hope that is your openvpn server.

bilbonvidia
OpenVpn Newbie
Posts: 4
Joined: Tue Jun 07, 2011 9:54 pm

Re: New user bridge help

Post by bilbonvidia » Wed Jun 08, 2011 4:34 pm

Thanks, it worked. :)

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: New user bridge help

Post by maikcat » Thu Jun 09, 2011 7:31 am

ok then

Closing topic.

Michael
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

Locked