I posted this over at the Ubuntu forums, but perhaps that wasn't the proper location. Hopefully somebody here will be able to offer some insight.
I've been pulling my hair out over this all day now, and I don't appear to have gotten any closer to a solution. I am running Ubuntu 9.10 server and would like to install OpenVPN in bridged mode on it. All of my computers are plugged into a single, generic WiFi router. The IP address of the WiFi router is 192.168.18.1 and it gives out IP addresses (formatted like 192.168.18.x) to connected devices via Static DHCP.
I have managed to establish an OpenVPN connection between another computer on my network and the OpenVPN server (using the public IP address given to me by my ISP, with appropriate port forwarding set up). Unfortunately, I am unable access the internet at large while connected. I am able to connect to other computers within the network however.
[irrelevant configuration files clipped for brevity]
What am I doing wrong? I'm getting no error messages that I can see! Any help would be very much appreciated.
OpenVPN Issues
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.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
- krzee
- Forum Team
- Posts: 728
- Joined: Fri Aug 29, 2008 5:42 pm
Re: OpenVPN Issues
are you sure you need bridged mode? most often you do not... You should only use a bridge if you need a specific layer2 protocol.
Are you using --redirect-gateway and you have ip forwarding on the server, and NAT on the server (or its default gateway) for the src ip of the traffic you want to exit the vpn to the inet?
Are you using --redirect-gateway and you have ip forwarding on the server, and NAT on the server (or its default gateway) for the src ip of the traffic you want to exit the vpn to the inet?