Your "route add" command is backwards. Try:
route add 195.176.1.10 192.168.1.10 1
dano
Raymond Sleiman wrote:
>
> Hello,
> ---------------
> | |
> Internet | | Internal Network
> ---------------| GW |-------------------mail server
> 195.176.1.3 | | 192.168.1.1 192.168.1.10
>
> -------------
>
> Using fwxlconf , i defined tow rules:
>
> 192.168.1.10 192.168.1.10 SRC_STATIC 195.176.1.10
> 195.176.1.10 195.176.1.10 DST_STATIC 192.168.1.10
>
> I defined also arp -s 195.176.1.10 mac_address_of_the gateway pub
> I defined also static route in the gatewy route add 192.168.1.10
> 195.176.1.10 1
>
> I installed rules again.
>
> The mail server is unable to ping the router 195.176.1.1
> A machine from internet is unable to ping 195.176.1.10.
>
> With snoop -vd interface i checked the the NAT is not functionning.
>
> Could somebody tell me what is wrong
>
> Best Regards
>
> Raymond Sleiman
References:
|
|