vpn paylaşma scripti
iptables --flush;ip rule add from 192.168.43.0/24 lookup 61;ip route add default dev tun0 scope link table 61;ip route add 192.168.43.0/24 dev wlan0 scope link table 61;ip route add broadcast 255.255.255.255 dev wlan0 scope link table 61;iptables -t filter -F FORWARD;iptables -t nat -F POSTROUTING;iptables -t filter -A FORWARD -j ACCEPT;iptables -t nat -A POSTROUTING -j MASQUERADE;iptables --flush;
Yorumlar
Yorum Gönder