A Wan IP forwarded to a Lan IP
-
Hi,
i have pfsense 1.2.3 and my wan IP is 192.168.0.10 my lan ip is 172.16.1.93
Now i want a wan IP 192.168.0.14 to be forwarded to 172.16.1.174This because on IP 172.16.1.174 is running a website.
And i want that also people from the wan network can reach my website so if they connect to 192.168.0.14 they have to come on my website with is on 172.16.1.174.Could some body please help my thanks
-
1: Create a VIP on the WAN. (Firewall –> Virtual IPs)
2: Create a NAT forwarding using the VIP. (Firewall --> NAT)done :)
-
Be sure to uncheck the "Block Private Networks" box on the Interfaces|WAN page and apply or no incoming connections to the WAN will get through.
db
-
If i do this i don't go to my website the only things whats happening is i go to the web configuration page of pfsense. What i'm doing wrong?
-
Oké this is what i have…
pfsense 1)
WAN: 192.168.0.10
LAN: 172.16.1.93VIP: 172.16.1.254
pfsense 2)
WAN: 192.168.0.12
LAN: 172.16.1.83VIP: 172.16.1.254
They are working to getter as one in a Fail-over.
My laptop have
IP: 172.16.1.174
Sub: 255.255.255.0
Gate: 172.16.1.254
DNS: 172.16.1.254
On my laptop is a webpage.
Now i want the wan IP's192.168.0.14
192.168.0.15
192.168.0.16being forwarded to my laptop.
I hope you can help my now?
-
Go to System: General Setup and enter a number other than 80 for webGUI port (or check HTTPS for WebGUI protocol) and Save, Apply. Port 80 won't forward if pfsense is already listening on it.
Go to Firewall:Virtual IP Address and create entries for 192.168.0.14/31 and 192.168.0.16 Save, Apply. pfsense has to know that your WAN is assuming those IP addresses.
Go to Firewall: NAT: Port Forward and create an entry for WAN any TCP http 172.16.1.174 http Auto-add, Save, Apply. pfsense has to be told to forward your http port and to what internal address.
db