Jump to content
Not connected, Your IP: 18.116.90.141
Hugh_Mann

Using Micro-PC as VPN Router using Linux Mint

Recommended Posts

I have a micro PC running Linux Mint 18 that has a dual NIC. For security and privacy reasons, I would like to have all of my Internet devices routed through this computer (wireless).

Could anyone point me in the right direction for instructions on how to do this? Any advice would be greatly appreciated.

 

Thanks

Share this post


Link to post

Unfortunately I don't have a tutorial for you and I don't use Linux Mint but its a debian based OS so I would guess the same processes would work for you.

1) First setup your openvpn connection and get tunnel assignment

2)Next try to fallow the instructions for hosting a wifi hotspot for a RPI https://frillip.com/using-your-raspberry-pi-3-as-a-wifi-access-point-with-hostapd/

3) Replace the iptable "eth0" commands with the tunnel interface

sudo iptables -t nat -A POSTROUTING -o tun0 -j MASQUERADE  
sudo iptables -A FORWARD -i tun0 -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT  
sudo iptables -A FORWARD -i wlan0 -o tun0 -j ACCEPT

 

Hope that helps some.

Share this post


Link to post

Thanks a lot for the help. I'll give it a shot and let you all know how it goes.

 

why not install pfsense on it?   there's a great guide for pfsense 2.3 in the forums.  you'd still have no problem setting up 2.4 following that guide.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...