SHARE
TWEET

Untitled

a guest Aug 12th, 2017 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. sudo iptables -t nat -A POSTROUTING -o tun0 -j MASQUERADE
  2. sudo iptables -A FORWARD -i tun0 -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT
  3. sudo iptables -A FORWARD -i wlan0 -o tun0 -j ACCEPT
  4.    
  5. # Generated by resolvconf
  6. search a.my-company.com b.my-company.com c.my-company.com
  7. nameserver 10.0.0.1           # VPN DNS server
  8. nameserver 10.4.0.1           # VPN DNS server
  9. nameserver 194.168.4.100      # ISP DNS server
  10. nameserver 194.168.8.100      # ISP DNS server
  11.    
  12. IP 10.4.119.198.35387 > [VPN DNS SERVER 1].domain: 12662+ A? some.website.com. (38)
  13. IP [VPN DNS SERVER 1].domain > 10.4.119.198.35387: 12662 1/13/13 A [Resolved IP] (486)
  14. IP 10.4.119.198 > [VPN DNS SERVER 1]: ICMP 10.4.119.198 udp port 35387 unreachable, length 522
RAW Paste Data
Top