![]() ![]() Sudo ip route add default via 192.168.0.1Īnd give it an IP address in the 192.168.0.0/24-range. Iptables-restore /proc/sys/net/ipv4/ip_forward" Sudo iptables-save | sudo tee /etc/iptables.savĮdit /etc/rc.local and add the following line before the "exit 0" line: Sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE Sudo iptables -A FORWARD -m conntrack -ctstate ESTABLISHED,RELATED -j ACCEPT ![]() Sudo iptables -A FORWARD -o tun0 -i eth1 -s 192.168.0.0/24 -m conntrack -ctstate NEW -j ACCEPT ![]() Add a comment if you need to know more about OpenVPN), you will have a network device (let's call it tun0) with an IP address in the VPN, and your wifi dongle (let's call it eth1). Install openvpn if it’s not already installed.I am not familiar with Tunnelbear, but I assume once you have set it up (should be easy if they have OpenVPN support, besides, you did not ask how to set up Tunnelbear, you asked how to share it. Then run script from the same directory as the downloaded file. Tunnelbear Linux Vpn, Fritzbox Vpn Myfritz Android, Set Up Cyberghost On Router, Hotspot Shield Doesn T Work, Cisco Ssl Vpn License, Setting Up Cisco Vpn On Windows 10, Windscribe Not Coonecting To Internet. If you've already downloaded the config files, comment out the line beginning with curl. ![]() It needs curl for the downloading, and either sudo or root privs for the final chown step. This is a shell script that automates the downloading and renaming process.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |