ubuntu server 12.04 dhcp/router and firewall want to encrypt

This forum is for all inquiries relating to the installation of OpenVPN from source and with binaries.

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!
Locked
crashdogy
OpenVpn Newbie
Posts: 2
Joined: Thu Nov 13, 2014 5:38 am

ubuntu server 12.04 dhcp/router and firewall want to encrypt

Post by crashdogy » Thu Nov 13, 2014 5:39 am

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

User avatar
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

Post by maikcat » Thu Nov 13, 2014 1:19 pm

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.

crashdogy
OpenVpn Newbie
Posts: 2
Joined: Thu Nov 13, 2014 5:38 am

Re: ubuntu server 12.04 dhcp/router and firewall want to enc

Post by crashdogy » Thu Nov 13, 2014 2:39 pm

Thanks for reply, I am asking because I have not found anything been searching for days.

User avatar
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

Post by maikcat » Fri Nov 14, 2014 6:58 am


User avatar
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

Post by Traffic » Fri Nov 14, 2014 11:59 pm

crashdogy wrote:I am sure there's a easy why to do this LOL
There is LOL :roll:
Last edited by debbie10t on Sat Nov 15, 2014 12:02 am, edited 1 time in total.
Reason: Killing Trolls

Locked