OK I have a Ubuntu server 12.04 dhcp router/firewall with 2 nic's one for network one for internet, and want to encrypted all internet traffic going in and out of my server ?
I also have a VPS setup with Openvpn on it I use for laptops smartphone when in public places.
I am sure there's a easy why to do this LOL
ubuntu server 12.04 dhcp/router and firewall want to encrypt
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!
-
- OpenVpn Newbie
- Posts: 2
- Joined: Thu Nov 13, 2014 5:38 am
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: ubuntu server 12.04 dhcp/router and firewall want to enc
if you search you will find many examples on how to redirect all traffic via vpn tunnel,
2 points to remember are:
1)use push "redirect-gateway def1" directive to your server config so all your clients change their default gateway
2)use NAT on server to NAT outgoing traffic from your clients to internet.
Michael.
2 points to remember are:
1)use push "redirect-gateway def1" directive to your server config so all your clients change their default gateway
2)use NAT on server to NAT outgoing traffic from your clients to internet.
Michael.
-
- OpenVpn Newbie
- Posts: 2
- Joined: Thu Nov 13, 2014 5:38 am
Re: ubuntu server 12.04 dhcp/router and firewall want to enc
Thanks for reply, I am asking because I have not found anything been searching for days.
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
- Traffic
- OpenVPN Protagonist
- Posts: 4066
- Joined: Sat Aug 09, 2014 11:24 am
Re: ubuntu server 12.04 dhcp/router and firewall want to enc
There is LOLcrashdogy wrote:I am sure there's a easy why to do this LOL

Last edited by debbie10t on Sat Nov 15, 2014 12:02 am, edited 1 time in total.
Reason: Killing Trolls
Reason: Killing Trolls