Skip to content

Stefcho's Tech Blog

Software Development, Cloud, DevOps and PfSense

Using your OpenVPN Road Warrior setup as a Secure Relay

Posted on 07/09/2011 - 18/02/2019 by Stefan

Introduction

If you are in a café or another place with free wireless Internet access you are under a security risk. Your traffic can be monitored, captured and analysed. Your sensitive data can be stolen or your laptop infected with malicious application.

To avoid as much as possible of the above we can route all your traffic through the internet connection at home or in your office.

Configuration

As a base configuration you can use pfSense 2.0 RC1 configuration of OpenVPN Server for Road Warrior with TLS and User Authentication

up until the Tunnel Settings section of the OpenVPN Configuration.

There tick the Redirect Gateway.

 

Under Client Settings enter DNS Server 1 as the IP address of you LAN interface.

Explanation

By doing so you will redirect all your traffic through the VPN connection and avoid the risks related to the publicly available Internet access hotspots. The addition of DNS server address is needed in order to use you own device to resolve web sites IPs instead of the publicly available DNS server of the hotspot.

Testing

As a test you can trace route (tracert bbc.co.uk for example) a popular internet site with or without established VPN Connection.

Conclusion

At the cost of building just another VPN Server on your device you are gaining a little peace of mind while surfing the net from insecure location.

Posted in TechnicalTagged Network, OpenVPN, pfSense, pfSense 2.0 RC3, Technical

Post navigation

Upgrade Alix board with pfSense 1.2.3 to pfSense 2.0 RC3
pfSense 2.0 Release Now Available!

7 Comments

  1. VPNMAN says:
    09/10/2011 at 03:29

    Is there a way to edit the config file for this instead of doing the entire process over again?

  2. Stefan says:
    09/10/2011 at 10:47

    You can edit the configuration of already working VPN. My idea was to have two separate configurations, one using the GW of the guest network, and one routing all client’s traffic through the VPN Connection.

  3. VPNMAN says:
    09/10/2011 at 19:51

    So you would create two VPN servers under the OpenVPN tab? the second server would follow this guide?

    How do you select the different configuration files with the OpenVPN client since you dump each config in the config folder?

    Thanks for the help

    Thanks

  4. Stefan says:
    18/10/2011 at 18:52

    I would just copy/paste the client configuration file and then change the port on the second.

  5. Edu A. says:
    18/04/2012 at 12:04

    Hi, i want to setup a LAN-to-Lan with warcraft dota, i have 2 networks (2 LAN shops).
    shop 1 = 192.168.0.1/24, WAN = DHCP, shop 2 = 192.168.1.1/24, WAN = DHCP, im planning to connect these 2 different lan so my clients can play DoTa using that scheme.. is it possible???

    i’m using pfsense 2.0.1…

  6. Ilias says:
    19/05/2012 at 11:31

    Good job, i have read many of your articles lately since it has not been long from when i managed to install pfSense 2.0 to my buggy hyper-v AMD server :D.
    I would like to ask if it is possible to use:
    road warrior (with push redirect getaway) connecting to pfsense vpn and also the road warrior be filtered by the squidquard rules of the pfsense box.

  7. Pingback: My Homepage

Comments are closed.

Tags

ADDS AES-NI Asterisk ASUS Azure Captive Portal Cell Phone CentOS Certification Creative DD-WRT DNS Hyper-V LDAP Learning Linksys Microsoft Mikrotik RouterBoard RB250G Network OpenLDAP OpenVPN OpenWrt pfCenter pfSemse pfSense pfSense 2.0 RC1 pfSense 2.0 RC3 pfSense 2.2 PKI RADIUS Raspberry Pi Routing Site To Site Technical Uncategorized VLAN VMWare VoIP Vyatta Web Sites Windows Server 8 Windows Server 2008 R2 Windows Server 2012 R2 Wireless Workstation 8

Archives

  • April 2020
  • July 2019
  • May 2019
  • March 2019
  • February 2019
  • October 2018
  • August 2018
  • March 2016
  • April 2015
  • March 2015
  • January 2015
  • February 2012
  • October 2011
  • September 2011
  • August 2011
  • July 2011
  • June 2011
  • May 2011
  • April 2011
  • March 2011
  • February 2011
  • July 2010
Proudly powered by WordPress | Theme: micro, developed by DevriX.