OPNsense Forum

English Forums => General Discussion => Topic started by: guest20491 on March 12, 2019, 06:01:45 am

Title: Using Edgerouter as Gateway
Post by: guest20491 on March 12, 2019, 06:01:45 am
Hello

Is it possible to use a Ubnt Edgerouter as a gateway for Opnsense? i would like to have my Edge dial into my service and pass the service to Opnsense to do the filtering and firewall......
Title: Re: Using Edgerouter as Gateway
Post by: Antaris on March 12, 2019, 08:30:06 am
You can, but what is the idea?
Set UPnP on Edgerouter, give static address to OPNsense WAN port, and set DMZ to this address in Edgerouter. Also must unblock private networks in "Interfaces>>WAN" on OPNsense.
Title: Re: Using Edgerouter as Gateway
Post by: guest20491 on March 12, 2019, 10:15:44 am
Thank you for the reply

I a purely only wanting this setup as a learning experience and the hardware is available

Will I have any routing or Nat issues? This is kind of the way I originally had of sense setup using a bridged modem
Title: Re: Using Edgerouter as Gateway
Post by: bartjsmit on March 12, 2019, 05:53:20 pm
You can disable OPNsense outbound NAT on Firewall, NAT, Outbound. Other than that, make sure your Edge has a route to OPNsense LAN and as Antaris mentioned, allow RFC 1918 on your WAN interface.

Bart...
Title: Re: Using Edgerouter as Gateway
Post by: newsense on March 13, 2019, 07:27:08 am
As a learning experience, have the router behind the firewall as it should be anyway. Same principles apply but you have proped security in the right places.
Title: Re: Using Edgerouter as Gateway
Post by: guest20491 on March 15, 2019, 02:58:32 am
Is their a guide to setup DMZ on opnsense its quote confusing?

I have my edge setup with a static ip on the lan of 192.168.100.254 the edge dials onto ppoe and I have enabled upnp on the edge.

Opnsense has a static ip on the wan interface of 192.168.100.253