"N. Suryana" <[EMAIL PROTECTED]> 11/21/02 02:07 PM
> Komputer1 Gateway: 202.123.45.67 dan 192.168.0.1

> Komputer2 Web Server: 192.168.0.2
> Komputer3 POP3, IMAP, SMTP: 192.168.0.3

> Bagaimana perintah ipchains agar setiap request (Web,POP3, IMAP
> dan SMTP) dari internet dan juga internal diarahkan ke Komputer1
> atau Komputer2

tulisan dibawah ini diambil dari alamat
http://www.praveen-linux.8m.com/art/portforward.htm
Set up the masquerade port forward to the internal WWW Server. This will
takes all requests on port 80 of the external IP address and forwards them
to the WWW Server address behind the firewall. The -f flushes the ipmasqadm
rules.  The second line provides for -a, add the rule, -P, tcp protocol,
-L, local interface and port number, -R, remote address and port, and -p, a
load balancing command. One hundred (100) sets it to 100% of the time do
this.


ipmasqadm portfw -f ipmasqadm portfw -a -P tcp -L [ExternalIP]
[SourcePortNumber] -R [ExternalIP] [DestinationPortNumber] -p 100

Salam,
http://keakuanku.netfirms.com/


-- 
Utk berhenti langganan, kirim email ke [EMAIL PROTECTED]
Informasi arsip di http://www.linux.or.id/milis.php3

Kirim email ke