"Fossies" - the Fresh Open Source Software Archive

Member "tcpproxy-2.0.0-beta15/tcpproxy.conf" (13 Oct 1999, 1279 Bytes) of package /linux/privat/old/tcpproxy-2.0.0-beta15.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Generic config files source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #
    2 # /etc/tcpproxy.conf - sample configuration
    3 #
    4 #   This sample configuration assumes that you have
    5 #
    6 #     - an access server with two network interfaces, with
    7 #     - the network 192.168.1.1/24 on the inner side, and
    8 #     - the IP number 192.44.100.7 on the outer side
    9 #
   10  
   11 
   12 #
   13 # Define SMTP proxys ...
   14 #
   15 port 25
   16 
   17   # ... for outgoing ...
   18   #
   19   interface 192.168.1.1
   20     server mailrelay.provider.com
   21 
   22   # ... and incoming email.
   23   #
   24   interface 192.44.100.7
   25     server mail.internal.com
   26 
   27   # In the case you want to protect your local mail server with
   28   # an application gateway against buffer overflows or relay usage
   29   # use
   30   #
   31   #  interface 192.44.100.7
   32   #    exec /usr/local/sbin/smtp.proxy -r @internal.com mail.internal.com
   33   #
   34 
   35 
   36 #
   37 # We run an internal POP3 server ...
   38 #
   39 port 110
   40 
   41   #
   42   # ... which is accessable from the outside, but only through
   43   # an application gateway.
   44   #
   45   interface 192.44.100.7
   46     exec /usr/local/sbin/pop3.proxy mail.internal.com
   47 
   48 
   49 
   50 #
   51 # There are also NNTP-Servers on the outside
   52 #
   53 port 119
   54 
   55    interface 192.168.1.1
   56      server nntp.provider.com
   57     
   58    interface 192.168.2.1
   59      server nntp.other-provider.com
   60 
   61 
   62 #
   63 # We also have an external NETBIOS server
   64 #
   65 port 139
   66 
   67   interface 192.168.1.1
   68     server fileserver.my-company.com
   69     timeout 0
   70