PfSense and dsl router



  • Hi to you all. I've installed a pfsense box which is connected via ethernet (LAN interface) to my dsl modem/router with static ip (192.X.X.X), and to a wireless metropolitan network (wmn) via wlan (ralinkl rt 2500 set as WAN interface) with static ip also (10.X.X.X). Everything is working fine,I use the pfsense box as a client box for the wmn with a static route to my modem/router to route 10.0.0.0 traffic (wireless) to the pfsense box. So my computers connected to the modem/router have access to both internet and wmn with NAT. The thing is that I want the pfsense box to have access to the internet via the modem/router in order to use the DDNS function to have access from distance. How can I do that? Sorry the long post and for any silly questions, I'm a newbie!!!
    Greetings from Greece!



  • From my short experience with pfSense, whatever interface is setup as your WAN interface, will be what DDNS uses. So if you want DDNS to work with your DSL, you need to have your DSL plugged into your WAN interface, and your wireless metropolitan network plugged into your OPT1 interface.

    And let me make sure you have this setup properly in the first place. It sounds like you have you DSL plugged into your LAN interface and wmn plugged into your WAN interface? If so, that is incorrect. You need to have three interfaces configured for dual internet connections. One is your private home network (LAN interface), one is your DSL network (WAN interface), and the other is your wireless internet (OPT1 interface). So you need three network cards (interfaces) to do this.

    I've attached a network diagram for visualization efforts.





  • @GotzBoost:

    And let me make sure you have this setup properly in the first place. It sounds like you have you DSL plugged into your LAN interface and wmn plugged into your WAN interface? If so, that is incorrect. You need to have three interfaces configured for dual internet connections. One is your private home network (LAN interface), one is your DSL network (WAN interface), and the other is your wireless internet (OPT1 interface). So you need three network cards (interfaces) to do this.

    Correct, but I was wondering if I could avoid the third interface because all my pc's are connected to the embedded switch of the dsl modem and the pfsense box will be on the roof, so I have to install more another UTP wire from there to my appartment. The modem/router is a D-Link G604T.



  • You can't set it up that way; you need to follow the diagram. You must use three NICs. Most likely, the way you have it setup now, you are not even using the pfSense box or the wireless. Your DSL switch is most likely assigning your computers an IP and the gateway of the DSL modem/router. You are going to have to use a diff switch for your LAN than the DSL switch. And plug the DSL switch into your WAN interface, and you wireless into your OPT1 interface.

    And why is your pfSense box on the roof ???



  • his pfsensebox is on the roof so that between the wirelesscard in the pfsensebox and the antenne there is as less coax cable as can be

    and yess the lan must be seperated from the wireless and the dsl
    so that you get this:
    dsl modem – wanpoort pfsense
    pc's ----switch --- lanport pfsense
    wirelesscard--opt1 interface pfsense



  • @GotzBoost:

    Most likely, the way you have it setup now, you are not even using the pfSense box or the wireless.
    And why is your pfSense box on the roof ???

    Maybe you didn't understand me. I'm surely using the pfsense as gateway to the wmn. Read my first post carefully. I surf the wireless pages and connect to wireless DC hubs via static route from my router which routes wireless data traffic (the 10.X.X.X) towards the pfSense and resolves them with extra dns servers that I have assigned. If I wasn't using the pfSense I could't have access to the wmn. The pfsense is on the roof because it is easier to install utp than cable from the wireless nic to the antenna (on the roof).



  • Dyndns will only work if the pfSense has a real WAN IP at it's WAN interface as it will update the dyndnsserver with it's current adress at WAN interface. Can your modemrouter do DynDNS?



  • Yes, it supports dyndns.



  • Then using the modems dnynds feature is the way to go.



  • Man… You have one off the wall setup....

    You're not utilizing pfSense to its full capabilities.


Locked