Help with Routing
-
Hi.
Please need your help with the next problem. Have:
Side A:
Pfsense (192.168.1.0)
OpenVPN (14.15.0.0)
PC1 :
(10.11.220.2) eth0:1
(192.168.1.23) eth0Side B:
Server Client OpenVPN (14.15.0.2)
DHCP network (192.168.8.0)
PC 2 (10.11.220.61)The PC1 is CentOS.
The computers in the networks 192.168.1.0 and 192.168.8.0 working fine.
My problem is need contact the PC2 with the PC1 but the PC2 only accept connection from the IP 10.11.220.2
How can masquerading or routing this?
Try with add route but dont work
Thansk for your help
-
@casoft said in Help with Routing:
OpenVPN (14.15.0.0)
Why are you using a public IP for VPN??
@casoft said in Help with Routing:
but the PC2 only accept connection from the IP 10.11.220.2
Why?
@casoft said in Help with Routing:
How can masquerading or routing this?
Presupposed the IP 10.11.220.2 is not already in use (if it is, forget it), assign that IP to the pfSense interface facing to PC2 as IP Alias (Firewall > virtual IPs).
Got to Firewall > NAT > outbound. If the outbound NAT is in automatic mode set the hybrid mode and add a masquerading rule:
Interface: LAN (or that one which is facing to PC2)
Source: PC1 IP
Destination: 10.11.220.61
Translation: Interface address -
@viragomann Thanks for answer me.
Im try but dont work, thanks for your help:
Screen 1:
https://screenshots.firefox.com/dqA5FeTHHMARBmVO/faurora.casoft.com.coAnd
Screen 2:
https://screenshots.firefox.com/9zLpdRScKPLQceT2/faurora.casoft.com.coThanks for your cooperation
-
This is my network
-
The PC2 will not be connected to the OpenVPN interface! The outbound NAT rule has to be on the interface where PC2 is connected to.