Advertisement
Guest User

Untitled

a guest
Feb 10th, 2017
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. /interface ethernet
  2. set [ find default-name=ether1 ] name=LAN
  3. /interface lte
  4. set [ find ] mac-address=1E:49:7B:A2:B6:24 name=lte1
  5. /interface pptp-client
  6. add add-default-route=yes connect-to=91.211.XXX.XXX disabled=no name=pptp-out1 password=PASSWORD \
  7. user=USER
  8. /ip address
  9. add address=192.168.1.10/24 interface=LAN network=192.168.1.0
  10. /ip dhcp-client
  11. add dhcp-options=hostname,clientid disabled=no interface=lte1
  12. /ip firewall nat
  13. add action=masquerade chain=srcnat out-interface=pptp-out1
  14. add action=dst-nat chain=dstnat dst-port=88 in-interface=pptp-out1 log=yes protocol=tcp \
  15. to-addresses=192.168.1.1 to-ports=222
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement