LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-09-2004, 01:49 AM   #1
rickthemick
Member
 
Registered: Aug 2003
Location: Sweden
Distribution: Debian
Posts: 52

Rep: Reputation: 15
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
 
Old 11-09-2004, 07:20 AM   #2
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
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.
 
Old 11-10-2004, 10:49 AM   #3
rickthemick
Member
 
Registered: Aug 2003
Location: Sweden
Distribution: Debian
Posts: 52

Original Poster
Rep: Reputation: 15
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).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
tunnel for CVS eantoranz Linux - Networking 0 01-04-2005 01:05 PM
IPIP Tunnel rickthemick Linux - Networking 1 11-26-2004 03:08 AM
ssh tunnel TroelsSmit Linux - Software 2 04-30-2004 03:30 PM
Ssh Tunnel tinaa Linux - Software 7 07-29-2003 07:52 PM
SSH tunnel? tarballedtux Linux - Networking 3 04-09-2002 03:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration