Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: port mapping


  • Subject: Re: lug-bg: port mapping
  • From: dam@xxxxxx (Damyan Ivanov)
  • Date: Wed, 6 Feb 2002 09:47:30 +0200



On Wed, Feb 06, 2002 at 03:42:22PM +0900 Vladimir Banishky wrote:
> Az se zanimavam predimno s NT  taka che edin amateurski vapros:
> 
> Iskam da mapna 1025 port na machina A da sochi kum 25ti port na machina B -
> bi trqbvalo da e elementarno.
> Ima li nachin tova da se napravi sas Squid-a?
> 
> Machinata e Mandrake Firewall distribucia s dosta orqzani komandi..

Ako si s kernel 2.4:
# dest-NAT
iptables -t NAT -A PREROUTING -p tcp -d A_IP --dport 1025 -j DNAT \
    --to-destination B_IP:smtp
# forward
iptables -A FORWARD -p tcp -d B_IP --dport smtp -j ACCEPT

vtorata komanda e za v sluchay, che politikata na FORWRD verigata e DROP
(kakto se preporychva)

Ako si s kernel 2.2 ti tryabva ipmasqadm. ne si spomnyam sintaksisa.
``man ipmasqadm''

dam

-- 
Damyan Ivanov

===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora



  • Относно:

 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.