Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    LAN -> WAN Problem

    Routing and Multi WAN
    2
    4
    1976
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      straike last edited by

      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.  :)

      1 Reply Last reply Reply Quote 0
      • J
        jeroen234 last edited by

        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

        1 Reply Last reply Reply Quote 0
        • S
          straike last edited by

          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 !

          1 Reply Last reply Reply Quote 0
          • S
            straike last edited by

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

            1 Reply Last reply Reply Quote 0
            • First post
              Last post