Skip to main content

Thread: Want to setup either tunnel or vpn server on my machine


i want utilize ubuntu machine route traffic through home ip when i'm away home. i've looked , seems can either set tunnel or vpn (pptp probably).

question 1:
opinion on tunnel vs full vpn?

if setup vpn want restrict access routing traffic through machine. not want user have kind of permissions internal network nor ubuntu machine (aside what's necessary).

question 2:
there guides available accomplishing that?

quote posted jasonto view post
i want utilize ubuntu machine route traffic through home ip when i'm away home. i've looked , seems can either set tunnel or vpn (pptp probably).

question 1:
opinion on tunnel vs full vpn?

if setup vpn want restrict access routing traffic through machine. not want user have kind of permissions internal network nor ubuntu machine (aside what's necessary).

question 2:
there guides available accomplishing that?
i reccomend using openvpn on pptp - has higher performance

1.

when creating vpn, technically create gateway server on host computer. result, configurations, network accessable when using vpn.

can create iptables rule like
code:
iptables -a output  -p tcp -i [name of vpn tunnel, i.e. tun0]  -d [home router ip] -j allow  iptables -a output  -p tcp -i [name of vpn tunnel, i.e. tun0]  -d [your home subnet]/24 -j drop
to block it.

2. don't have time search on net right now, of ones find use tun, , not tap work well. make sure uses push "redirect-gateway def1" in guide.

note: can use ssh tunneling, less complicated methinks


Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [other] Want to setup either tunnel or vpn server on my machine


Ubuntu

Comments

Popular posts from this blog

Could not place because the source rectangle is empty

Thread: Using smartcard reader with vpnc

Adobe Font Folio 7.0 or just 7?