Hi,
I am trying to configure a server to pass all client traffic through my office ip address, I have been playing around with various settings for a while and need to check if I have totally the wrong idea or not.
So what I have is:
router gateway on: 192.168.1.254
server on (ubuntu): 192.168.1.101
So I started by following the ubuntu manual creating a bridge for the connection I have this working but when I add the push "redirect-gateway" the client cannot connect to anything.
Also, I am a little confused to how the IP's should be setup, my network is on 192.168.1.x, can I use a totally different range for the vpn or do I need to change the routers dhcp to something like 192.168.100.x? So I dont get ip clashes.
Also to bridge do I need two network cards or something?
Will post config files once I know I am going in the right direction......
Thanks for your help.
Mute
[Solved] Server setup confusion
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
- Bebop
- Forum Team
- Posts: 301
- Joined: Wed Dec 15, 2010 9:24 pm
Re: Server setup confusion
If your lan is on 192.x.x.x you can put your vpn on 10.x.x.x for clarity. There will be a clash if you try to put them on the same subnet.
Bridging is not always necessary though. Neither is 2 network cards.
Post your server / client confs (minus all comments), and someone will help you get it up and running.
Bridging is not always necessary though. Neither is 2 network cards.
Post your server / client confs (minus all comments), and someone will help you get it up and running.
The cure for boredom is curiosity
-
- OpenVpn Newbie
- Posts: 2
- Joined: Thu Jul 28, 2011 3:21 pm
Re: Server setup confusion
I ended up using a straight tunnel instead of the bridge and everything is working now.
Thx for the advice.
Thx for the advice.