On Thu, Dec 07, 2006 at 11:27:11PM +0100, Mitja wrote:
> Hello,
> 
> I am trying to configure nat from internal network 192.168.1.0/24 to
> external nat gateway address 193.189.180.193. The problem is that
> packets are not passing from nat gateway to the interface 193.77.12.154
> to the internet.
> 
> ISP <-> 193.77.12.154 -- hostA -- 192.168.1.1
>                            |
>                      193.189.180.193 (em1)
>                            |
>                        /27 network
> 
> All hosts on 193.189.180.192/27 are routed correctly through
> 193.77.12.154 to internet. My pf.conf is practically empty:
> 
> # pfctl -s all
> TRANSLATION RULES:
> nat on em1 inet from 192.168.1.0/24 to any -> (em1:0)
> rdr pass on em1 inet proto tcp from any to any port = 5900 ->
> 192.168.1.111 port 5900
> 
> FILTER RULES:
> pass in all keep state
> pass out all keep state
> No queue in use
> 
> What I am doing wrong? Any suggestions?

#grep forwarding /etc/sysctl.conf

> DMESG:
<snip>

Regards,
ahb

Reply via email to