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?
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
to block it.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
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
Post a Comment