Date: Thu, 18 Apr 2002 11:02:54 -0700 From: Brooks Davis <brooks@one-eyed-alien.net> To: =?iso-8859-1?Q?Rickard_Borgm=E4ster?= <doktorn@realworld.nu> Cc: net@FreeBSD.ORG Subject: Re: Tunneling - will gif do the trick? Message-ID: <20020418110254.A25502@Odin.AC.HMC.Edu> In-Reply-To: <20020418174656.W8193-100000@studsboll.realworld.nu>; from doktorn@realworld.nu on Thu, Apr 18, 2002 at 05:51:41PM %2B0200 References: <20020418174656.W8193-100000@studsboll.realworld.nu>
next in thread | previous in thread | raw e-mail | index | archive | help
--opJtzjQTFsWo+cga Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 18, 2002 at 05:51:41PM +0200, Rickard Borgm=E4ster wrote: > Thanks do Dennis I now got the gif0 interface... >=20 > However, I have trouble moving on... >=20 > A host 213.88.128.169 is a secondary mailserver for 130.236.218.63. > 130.236.218.63 has now been placed in a net where the smtp port is blocked > from the world. I have no access to this firewall. >=20 > So how can I make 213.88.128.169 deliver the mail to 130.236.218.63? I > looked at SSH tunneling, but it doesn't seem doable with that. But how > abouts gif? >=20 > relayhost# ifconfig gif0 tunnel 213.88.128.169 130.236.218.63 >=20 > relayhost# ifconfig gif0 > gif0: flags=3D8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280 > tunnel inet 213.88.128.169 --> 130.236.218.63 >=20 > relayhost# telnet 130.236.218.63 25 > Trying 130.236.218.63... > telnet: connect to address 130.236.218.63: No route to host >=20 > Uhm... ok, so what am I missing, or did I misunderstand this > completely...? You've misunderstood tunnels. 213.88.128.169 and 130.236.218.63 must be able to talk to each other over normal IP protocols (specificaly, over IP protocol 4). If that is the case, you use the above configuration to connect the tunnel between them and then do something like "ifconfig gif0 10.0.0.1 10.0.0.2" to configure the tunneled addresses. After doing the same thing at the other end (with the addresses swapped) you should be able to telnet to 10.0.0.2 port 25. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --opJtzjQTFsWo+cga Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8vwpNXY6L6fI4GtQRAiSTAKC72R1c83E9vR6Bd4GLG4XJ8U0q3gCgnAHX BhfB3C4qMoxlP01lLIUORSU= =880j -----END PGP SIGNATURE----- --opJtzjQTFsWo+cga-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020418110254.A25502>