Replacing Debian Server
-
Guys please I URGENTLY need help
I have taken over a Debian Proxy / Mail Server and want to replace it with pfSense - IP 192.168.1.2 ( ADSL Router Running in Bridge Mode )
I have a New CentOS Mail Server Installed - IP 192.168.1.10
The New pfSense Server IP 192.168.1.2
The Old Debian Server was Using Shorewall for Proxy Filtering and these are the Settings for SMTP etc.
Accept connections from LAN to FW for Squid Reports
ACCEPT loc $FW tcp 80
ACCEPT loc2 $FW tcp 80# Accept NTP connections from Firewall to Internet
ACCEPT $FW net udp 123
ACCEPT loc net udp 123
ACCEPT loc2 net udp 123# Accept DNS connections from Netware server to Internet
ACCEPT loc:192.168.1.1 net tcp 53
ACCEPT loc:192.168.1.1 net udp 53Accept connections from Firewall to Internet
ACCEPT $FW net:196.28.80.139,196.23.23.140 tcp 53
ACCEPT $FW net:196.28.80.139,196.23.23.140 udp 53Accept DNS connections from LAN to Firewall
ACCEPT loc $FW tcp 53
ACCEPT loc $FW udp 53
ACCEPT loc2 $FW tcp 53
ACCEPT loc2 $FW udp 53# Accept SSH connections from the local network and the Internet for administration
SSHKnock:ULOG net $FW tcp 222,1599,1600,1601,10000
SSHKnock net $FW tcp 222,1599,1600,1601,10000
ACCEPT loc $FW tcp 222Accept SSH connections from the Internet to the Other server
#DNAT net loc:192.168.1.248 tcp 22
#ACCEPT $FW loc:192.168.1.248 tcp 22Accept POP3 connections from the LAN to the Firewall
Limit:ULOG:POP3CONLIMIT,10,300 net $FW tcp 110
ACCEPT net $FW tcp 110
ACCEPT loc $FW tcp 110
ACCEPT loc2 $FW tcp 110# Accept SMTP connections on port 10025 from Mimecast DC's
ACCEPT net:196.41.184.222/29 $FW tcp 10025 # DC1_ADDR1
ACCEPT net:41.208.19.92/28 $FW tcp 10025 # DC1_ADDR2
ACCEPT net:41.208.35.182/27 $FW tcp 10025 # DC1_ADDR3
ACCEPT net:41.208.10.124/28 $FW tcp 10025 # DC2_ADDR1
ACCEPT net:41.208.35.157/27 $FW tcp 10025 # DC2_ADDR2
ACCEPT net:41.74.152.10/20 $FW tcp 10025 # DC3_ADDR1Accept SMTP/SMTPS connections from the LAN to the Firewall and Internet to Firewall
ACCEPT net $FW tcp 587
ACCEPT loc $FW tcp 25
ACCEPT loc2 $FW tcp 25
ACCEPT $FW net:41.74.197.48 tcp 25,587
ACCEPT $FW net:41.74.193.49 tcp 25,587==========================================================================
My Question is: what must (and how) I do on the New pfSense Server to have the Same Settings as the Debian Server
Any Help Greatly Appreciated :)