Community discussions

MikroTik App
 
User avatar
polokus
newbie
Topic Author
Posts: 34
Joined: Fri Dec 23, 2005 7:04 am

did mikrotik support a tunnel behind NAT?

Fri Jul 14, 2006 9:58 am

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
 
ste
Forum Guru
Forum Guru
Posts: 1932
Joined: Sun Feb 13, 2005 11:21 pm

Fri Jul 14, 2006 1:50 pm

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
 
ctcolsen
just joined
Posts: 13
Joined: Sat Dec 21, 2013 6:14 pm

Re: did mikrotik support a tunnel behind NAT?

Mon Dec 23, 2013 4:34 pm

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?