• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Replacing Debian Server

Scheduled Pinned Locked Moved NAT
1 Posts 1 Posters 1.6k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C
    cheeks
    last edited by Mar 30, 2013, 3:03 PM

    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 53

    Accept 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    53

    Accept 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    222

    Accept 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 22

    Accept 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_ADDR1

    Accept 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  :)

    1 Reply Last reply Reply Quote 0
    1 out of 1
    • First post
      1/1
      Last post
    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
      This community forum collects and processes your personal information.
      consent.not_received