I am new to this firewalls. Past three months, I have worked on OpenBSD and written few rules.
Now I started exploring FreeBSD firewall deployed with pfSense. Through pfSense, I configured
inbound rule using rdr given below.
--
The rule written in pfsense:
"rdr on em0 proto tcp from any to 10.182.1.240 port 8080 -> 192.168.56.42"
--
But it is not working.
My request is how can i write a rule which can pass internet traffic to internal machine.
Internal network address :
--------------------------
1) 1.1) em1(=192.168.56.40/24
1.2) internal machine address: 192.168.56.42 , on this ,one service is running on port: 8080
External address:
------------------
2) em0=10.182.1.240/24.
Question:
----------
How can i write a nat and rdr rules to pass traffic from external to internal using above ip address?
Now I started exploring FreeBSD firewall deployed with pfSense. Through pfSense, I configured
inbound rule using rdr given below.
--
The rule written in pfsense:
"rdr on em0 proto tcp from any to 10.182.1.240 port 8080 -> 192.168.56.42"
--
But it is not working.
My request is how can i write a rule which can pass internet traffic to internal machine.
Internal network address :
--------------------------
1) 1.1) em1(=192.168.56.40/24
1.2) internal machine address: 192.168.56.42 , on this ,one service is running on port: 8080
External address:
------------------
2) em0=10.182.1.240/24.
Question:
----------
How can i write a nat and rdr rules to pass traffic from external to internal using above ip address?