LAN -> WAN Problem



  • Hello

    I am a newbie and I have a big problem.
    I would like redirect my LAN to my WAN in order to go on Internet. I made a success of thanks to bridge (LAN on WAN).

    But I wouldn't like use a bridge. In fact, I only want a router from LAN to WAN.
    I've so tried everything : static route, disable the firewall..

    I have currently:

    LAN :
    DHCP Server : 192.168.1.X
    Gateway : 192.168.1.1
    Mask : 255.255.255.0

    WAN (obtained by DHCP) :
    IP : 192.168.0.10
    Gateway : 192.168.0.254
    Mask : 255.255.255.0
    Dns : 212.27.54.252

    I think I must use static route but it doesn't work.

    Thanks for your help.  :)



  • give the wan a static ip adress with out a gateway
    so that nat is disabled
    then set up a static route to where you lan trafic has to go



  • Thanks for your answer but it doesn't work.  :'(

    In fact, Pfsense says me that I must give it a gateway in WAN.

    I give you some adjustement of my config :

    Interfaces -> WAN
      IP address : 192.168.0.10
      Gateway : 192.168.0.254 (I'm obliged)
      FTP Helper -> unchecked
      Block private networks -> unchecked
      Block bogon networks -> unchecked

    Interfaces -> LAN
      IP address : 192.168.1.1
      Gateway : 192.168.1.1
      FTP Helper -> unchecked

    System -> Advanced functions
      Shared Physical Network -> unchecked
      Filtering Bridge -> unchecked
      Static route filtering -> unchecked
      Disable Firewall -> checked (I would like ever test without firewall problems !  ;))
      Disable NAT Reflection -> unchecked

    System -> Static Routes
      Interface        Network                Gateway
      LAN              192.168.0.0/24        192.168.0.254

    Thanks for your help !



  • I have formatted my configuration and now it's working !
    Thanks


Log in to reply