1
General Discussion / Static route configuration for new VLAN
« on: December 29, 2019, 07:18:22 pm »
Edit: I guess a NAT rule is missing. Is this possible?
Right now I have following settings, created automatically with "Automatic outbound NAT rule generation":
Hi together,
I installed a new OPNsense firewall, which is connected like following:
- ETH1: WAN Interface to Internet
- ETH2: LAN Interface to my router
- Point to Point subnet between my Router and the OPNsense in VLAN 255
- OPNsense IP: 192.168.255.1/30
- Router IP: 192.168.255.2/30
A default route on my router to the OPNsense and a route back is configured, clients in my subnet 192.168.2.0 (VLAN 2) are able to communicate with the OPNsense. They are not able to reach the internet. A tracert shows me, that internet traffic gets dropped after reaching the OPNsense.
I configured following so far on the OPNsense:
- VLAN 255 Interface on the OPNsense firewall
- My router as a new gateway with the IP 192.168.255.2/30
- Static Route on the OPNsense for my clients in VLAN 2, pointing 192.168.2.0/24 to my router
- Cloned the default firewall rules for IPv4 and IPv6 of the LAN interface to my new VLAN255 Interface
It seems that something is missing on the OPNsense. Do I need to edit the standard default route in some way?
Right now I have following settings, created automatically with "Automatic outbound NAT rule generation":
Hi together,
I installed a new OPNsense firewall, which is connected like following:
- ETH1: WAN Interface to Internet
- ETH2: LAN Interface to my router
- Point to Point subnet between my Router and the OPNsense in VLAN 255
- OPNsense IP: 192.168.255.1/30
- Router IP: 192.168.255.2/30
A default route on my router to the OPNsense and a route back is configured, clients in my subnet 192.168.2.0 (VLAN 2) are able to communicate with the OPNsense. They are not able to reach the internet. A tracert shows me, that internet traffic gets dropped after reaching the OPNsense.
I configured following so far on the OPNsense:
- VLAN 255 Interface on the OPNsense firewall
- My router as a new gateway with the IP 192.168.255.2/30
- Static Route on the OPNsense for my clients in VLAN 2, pointing 192.168.2.0/24 to my router
- Cloned the default firewall rules for IPv4 and IPv6 of the LAN interface to my new VLAN255 Interface
It seems that something is missing on the OPNsense. Do I need to edit the standard default route in some way?