Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wget https://raw.githubusercontent.com/code302/Debian-with-LBC/master/Debian/Softether-x64.sh
- bash Softether-x64.sh
- installing na yan then next eto lagay mo
- apt-get install dnsmasq
- nano /etc/dnsmasq.conf
- interface=tap_soft
- dhcp-range=tap_soft,192.168.7.50,192.168.7.60,12h
- dhcp-option=tap_soft,3,192.168.7.1
- port=5353
- dhcp-option=option:dns-server,80.80.80.80,80.80.81.81
- echo 'net.ipv4.ip_forward = 1' > /etc/sysctl.d/ipv4_forwarding.conf
- sysctl --system
- iptables -t nat -A POSTROUTING -s 192.168.7.0/24 -j SNAT --to-source (VPS IP)
- apt-get install iptables-persistent -y
- /etc/init.d/vpnserver restart && /etc/init.d/dnsmasq restart
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement