[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-misc
Subject:    Re: Redirection rules are not working
From:       "Nikolai N. Fetissov" <nickf () peachisland ! com>
Date:       2004-05-31 15:31:58
Message-ID: Pine.LNX.4.44.0405311124520.1396-100000 () paris ! peachisland ! com
[Download RAW message or body]

On Mon, 31 May 2004, Shaju ...:

> pass in on $external inet proto tcp from any to $external port $ftp_proxy keep
> state
> pass in on $external inet proto tcp from any port 81 to 192.168.0.102 port 80
> flags S/SAFR keep state
                                                          ^^^^^^^^^^^^^
This and two rules bellow - use $external instead of your NATed addresses.
Also, as mentioned earlier on this list, you don't have to check all the
tcp flags here, kernel already does so.

> pass in on $external inet proto tcp from any port 3389 to 192.168.0.24 port
> 3389 flags S/SAFR keep state
> pass in on $external inet proto tcp from any port 2401 to 192.168.0.5 port
> 2401 flags S/SAFR keep state
> 
> But the redirecting rules are not working. Is I made any mistakes in the
> ruleset. Help me to solve this issue.
> 
> thanks in advance
> 
> Shaju M.C
> 

Cheers,
-- 
 nickf3

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic