Re: lug-bg: iptables problem
- Subject: Re: lug-bg: iptables problem
- From: Stefan Stoilov <stoilov@xxxxxxxxxxx>
- Date: Tue, 25 Nov 2003 18:07:58 +0200
Az sym go naprawil taka :
/usr/sbin/iptables -t nat -A PREROUTING -i eth1 -d ! free.dupnica.net -p
tcp --dport 80 -j REDIRECT --to
-port 3128
Towa e na4ina za izbjagwane na proksito za opredeleni IP ili mrevi .
Proxyto mi e na sashtata mashina.
t.e wsi4ko , except opisanoto sled ! d se redirektwa, a ostanaloto
minawa naprawo.
Na4ina po kojto si go naprawin milja 4e njama da stane .
Stefan
Elin wrote:
zdraveite grupa imam slednia problem
tova pravilo
iptables -t nat -A PREROUTING -d 192.168.1.2 -p tcp -s
!212.91.161.0/24 --dport 80 -j DNAT --to-destination 192.168.1.253:3128
kato go napisha samo raboti ideata mue tova e ip ot peearinga da ne
miniva prez proxyto a sichki ostanali daminava
i problema idva veche kato sled nego izreda celia pearing togava
otricanieto ne raboti "!" i kogato mahna otricanieto raboti
niakoi da ima ideia kade e buga
10x
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara
Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|