VPN No internet access

Re: VPN No internet access

Postby matigev » Tue Jan 01, 2013 7:35 pm

Great thanks! Hoping to get my VPN working soon
matigev
Donator VIP
Donator VIP
 
Posts: 48
Joined: Fri Sep 30, 2011 7:52 pm
Location: NL

Re: VPN No internet access

Postby maf112 » Thu Jan 03, 2013 2:14 pm

Goodluck!
And when you have any questions, post them so we can help you.
maf112
 
Posts: 15
Joined: Fri Nov 16, 2012 7:38 pm
Location: Netherlands

Re: VPN No internet access

Postby smellyt » Sat Aug 20, 2016 10:03 pm

Hi there,

First of all sorry for digging up this corpse of a post and thanks for the amazing firmware.

I've recently setup a VPN connection from my iPad to my NAS running nwsp2 fvdw-sl 16.1. Sadly I can't get my internet connection to get forwarded from the NAS. Most of the stuff you've written here is jibberish to me, is there any chance I can get an iptables mapping guide for dummies? Are you editing the firmware, or is there a way to implement this stuff on the fly?

Thanks in advance, hope my questions aren't too dumb :P
smellyt
 
Posts: 1
Joined: Sun Aug 25, 2013 10:30 am

Re: VPN No internet access

Postby Jocko » Sun Aug 21, 2016 10:35 am

Hi smellyt,

You just need to run these two command line on a shell terminal :
Code: Select all
iptables -A POSTROUTING -t nat -o eth0 -j MASQUERADE
iptables -A POSTROUTING -t nat -o ppp+ -j MASQUERADE


Note to keep them ate each booting you need to create a booting job with a shell file
Code: Select all
#!/bin/sh
iptables -A POSTROUTING -t nat -o eth0 -j MASQUERADE
iptables -A POSTROUTING -t nat -o ppp+ -j MASQUERADE
( read the help page for more detail)
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Previous

Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: No registered users and 5 guests