Advertisement
Guest User

Untitled

a guest
Nov 20th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. /ip firewall filter remove [f]
  2.  
  3. /ip firewall filter add chain=forward connection-state=established,related action=accept
  4. /ip firewall filter add chain=forward action=accept src-address-list=Optimus dst-address=192.168.0.55 port=1433 protocol=tcp
  5. /ip firewall filter add chain=forward dst-address=192.168.0.55 action=drop
  6.  
  7.  
  8.  
  9. /ip firewall nat
  10. remove [f]
  11. add action=dst-nat chain=dstnat protocol=tcp to-addresses=192.168.0.55 to-ports=1433
  12. add action=masquerade chain=srcnat out-interface-list=WAN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement