Advertisement
Guest User

Untitled

a guest
May 13th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  0 X ;;; place hotspot rules here
  2.      chain=unused-hs-chain action=passthrough
  3.  
  4.  1   ;;; Masquarade Lan
  5.      chain=srcnat action=masquerade src-address=192.168.10.0/24
  6.      out-interface=Tazmania
  7.  
  8.  2   ;;; Masquarade HotSpot
  9.      chain=srcnat action=masquerade src-address=192.168.1.0/24
  10.      out-interface=Tazmania
  11.  
  12.  3   ;;; Masquarade Proxy Squid
  13.      chain=srcnat action=masquerade src-address=192.168.2.0/24
  14.      out-interface=Tazmania
  15.  
  16.  4 X chain=srcnat action=masquerade out-interface=Squid
  17.  
  18.  5 X ;;; Redirect to Proxy
  19.      chain=dstnat action=dst-nat to-addresses=192.168.2.2 to-ports=3128
  20.      protocol=tcp src-address=!192.168.2.2 in-interface=Taz AP dst-port=80
  21.  
  22.  6 X chain=dstnat action=dst-nat to-addresses=192.168.2.2 to-ports=3128
  23.      protocol=tcp src-address=!192.168.2.2 src-address-list=client 1
  24.      in-interface=Lan dst-port=80
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement