LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   IP-IP Tunnel (https://www.linuxquestions.org/questions/linux-networking-3/ip-ip-tunnel-252697/)

rickthemick 11-09-2004 01:49 AM

IP-IP Tunnel
 
Hi!
I've got a issue on IP-in-IP tunnels. I've got the tunnels up and running using the "iproute2" package (the debain package is called iproute).

My problem:
I only send packages in one direction, lets say from host A --> B, and because of this I don't want it to be neccessary to run any "ip tunnel"-commands on host B (because I only want it to receive the packages there).

Is this possible? I've tried but have not been successful, host B seems to reject the packages when the tunnel has not been set up there too.

I'm using Kernel 2.4.18

Best regards
/Rickard
-----------
A nice reference for IPIP tunnels:
http://www.wlug.org.nz/IPIP

scowles 11-09-2004 07:20 AM

Is this possible? I've tried but have not been successful, host B seems to reject the packages when the tunnel has not been set up there too

Without host-b also defining a tunnel, how do you expect the ACK packets to return to host-a? If your goal is to limit traffic to one direction, use iptable rules after you have configured both tunnels. that's what I do.

rickthemick 11-10-2004 10:49 AM

I'm only considering connection less traffic (UDP) so no user ACK is needed to travel back trough the tunnel. (Do you mean some other ACK's, for e.g the tunnel?)

Yes, of caurse I can limit the traffic with iptables, but my goal is not to limit the traffic but to not have to run any "tunnel setup commands" (e.g ip tunnel add...) on host B.

I want host B be to see the incomming packet as usal and realize it is an IPIP packet (since next header is IPv4) unpack and treat the next packet as a usual IP packet (route it and so on).


All times are GMT -5. The time now is 01:59 AM.