Guest User

Untitled

a guest
Dec 15th, 2019
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. /ip firewall filter
  2. add action=accept chain=forward dst-address=172.26.0.4 dst-port=80 protocol=tcp
  3. add action=accept chain=forward dst-address=10.0.0.3 dst-port=22 protocol=tcp
  4. add action=accept chain=input in-interface=ether1 protocol=udp src-port=\
  5. 1701,500,4500
  6. add action=accept chain=input in-interface=ether1 protocol=ipsec-esp
  7. /ip firewall mangle
  8. add action=mark-packet chain=prerouting disabled=yes dst-port=8443 \
  9. in-interface=ether1 log=yes new-packet-mark=client2443 passthrough=yes \
  10. protocol=tcp
  11. /ip firewall nat
  12. add action=dst-nat chain=dstnat dst-port=8443 in-interface=ether1 log=yes \
  13. protocol=tcp to-addresses=172.26.0.4 to-ports=80
  14. add action=dst-nat chain=dstnat dst-port=2222 in-interface=ether1 log=yes \
  15. protocol=tcp to-addresses=10.0.0.3 to-ports=22
Advertisement
Add Comment
Please, Sign In to add comment