On Thu, 13 Nov 2003 10:31:10 +0100
Remco Post <[EMAIL PROTECTED]> wrote:

> Hi all,
> 

ok, stupid me... thinking that 1460 mss is small enough, setting mssclamp to
1400 does help :)

Can't ipfilter do mssclamp as intelligent as IPTABLES, they seem to figure
out the right number automagically?

> I have the following set-up:
> 
> ipfilter 3.4.33pre1 on solaris8
> 
> hme0: to my cable-provider
> ifppp0: isdn dail up
> ip.tun0: ip-ip tunnel
> qfe0: internal ip
> 
> my employer has been so good as to route a small ip block via the ip-ip
> tunnel, so I was hoping to use that for about everything. Unfortunately,
> things break if you're behind a tunnel, so I set up the following ipnat
> rules:
> 
> map hme0 172.16.5.0/24 -> 0/32 proxy port ftp ftp/tcp
> map hme0 172.16.5.0/24 -> 0/32 portmap tcp/udp 20000:60000
> map ifppp0 172.16.5.0/24 -> 0/32 proxy port ftp ftp/tcp mssclamp 1460
> map ifppp0 172.16.5.0/24 -> 0/32 portmap tcp/udp 20000:60000 mssclamp 1460
> rdr ip.tun2 145.100.55.9/32 port 53 -> 145.100.9.18 port 53
> bimap ip.tun2 172.16.5.2/32 -> 145.100.55.9/32 mssclamp 1460
> bimap ip.tun2 172.16.5.3/32 -> 145.100.55.10/32 mssclamp 1460
> bimap ip.tun2 172.16.5.4/32 -> 145.100.55.11/32 mssclamp 1460
> bimap ip.tun2 172.16.5.5/32 -> 145.100.55.12/32 mssclamp 1460
> bimap ip.tun2 172.16.5.6/32 -> 145.100.55.13/32 mssclamp 1460
> bimap ip.tun2 172.16.5.7/32 -> 145.100.55.14/32 mssclamp 1460
> map ip.tun2 172.16.5.128/25 -> 145.100.55.8/32 proxy port ftp ftp/tcp
> mssclamp 1460 map ip.tun2 172.16.5.128/25 -> 145.100.55.8/32 portmap
> tcp/udp 20000:60000 mssclamp 1460 map ip.tun2 172.16.5.64/26 ->
> 145.100.55.15/32 proxy port ftp ftp/tcp mssclamp 1460 map ip.tun2
> 172.16.5.64/26 -> 145.100.55.15/32 portmap tcp/udp 20000:60000 mssclamp
> 1460
> 
> This seems to work as expected, but stilll some sites that I know block
> all icmp are unreachable to me if I route via ip.tun2. Is there a bug in
> my bimap rules (mssclamp) ?
> 
> Otoh, if I set my default gateway to be the router on the cable network,
> all external sites seem to be reachable, but my services that I would like
> to be reachable via the 145.100.55.x ip's are not. Is there a way to have
> my services rachable to the world, and still have my default gateway be
> via hme0, so I can reach all websites?
> 
> 
> (ps the tar.gz of ipfilter was not on the ftp site when I tried to d/l
> it yesterday)
> 
> -- 
> Met vriendelijke groeten,
> 
> Remco Post
> 
> SARA - Reken- en Netwerkdiensten                      http://www.sara.nl
> High Performance Computing  Tel. +31 20 592 8008    Fax. +31 20 668 3167
> 
> "I really didn't foresee the Internet. But then, neither did the computer
> industry. Not that that tells us very much of course - the computer
> industry didn't even foresee that the century was going to end." --
> Douglas Adams


-- 
Met vriendelijke groeten,

Remco Post

SARA - Reken- en Netwerkdiensten                      http://www.sara.nl
High Performance Computing  Tel. +31 20 592 8008    Fax. +31 20 668 3167

"I really didn't foresee the Internet. But then, neither did the computer
industry. Not that that tells us very much of course - the computer industry
didn't even foresee that the century was going to end." -- Douglas Adams

Reply via email to