Page 1 of 1

did mikrotik support a tunnel behind NAT?

Posted: Fri Jul 14, 2006 9:58 am
by polokus
if anyone knows about creating a tunnel between mikrotik box that one of the box behind NAT router please help me and point me in the right direction

Regards

Posted: Fri Jul 14, 2006 1:50 pm
by ste
You have to configure the nat-router to pass the tunneling-packets
through.
Here is how packets of ipip looks like:
http://www.ietf.org/rfc/rfc2003.txt?number=2003

If there is only one ipip tunnelling device behind nat you simple
pass all Pakets with protocol=4 to the MT box behind NAT.
The other MT uses the NAT-Address as peer.

Regards,
Stefan

Re: did mikrotik support a tunnel behind NAT?

Posted: Mon Dec 23, 2013 4:34 pm
by ctcolsen
If there is only one ipip tunnelling device behind nat you simple
pass all Pakets with protocol=4 to the MT box behind NAT.
The other MT uses the NAT-Address as peer.
Sorry to bump this up but when you say pass all Pakets with protocol=4, do you mean that we simply port forward TCP port #4 to the local private IP address?
ip nat inside source static tcp 192.168.xx.xx 4 interface FastEthernet3/0 4
Is that sample code good for a CISCO router?