Displaying 4 results from an estimated 4 matches for "internert".
2007 Aug 02
5
Allocating 64 kbits/s out of 256 kbits/s for one LAN behing firewall
...(LAN2) - 192.168.102.254/255.255.255.0
Now, I want put about 5 people (5 PCs) behind this LAN2 and give internet
access to them. But, I do not want them to use my whole bandwidth (i.e - 256
kbit/s), But Instead, I want peple behind this LAN2 to allocate 64
kbits/s(kilo bits per second) for their
internert access.
Is it possible to acheive this task on firewall running iptables and
iproute2 (CentOS 4.5) ?
If so, How can I do such thing?
If I do such thing, what will happen to the people behind LAN1 ? Will they
get whole 256 kbits/s as before or will they get 256 kbit/s - 64 kbit/s for
their inter...
2007 Oct 05
3
DNAT rule for vsftp --(PASSIVE FTP)
...orts > 1024 from anywhere (Client initiates data
connection to random port specified by server)
- FTP server's ports > 1024 to remote ports > 1024 (Server sends ACKs
(and data) to client's data port)
Then, How can I write DNAT rules.
pls assume 1.2.3.4 is the ip of the internert interface.
#DNAT from Internet to the box running VSFTP @ 192.168.100.3
iptables -t nat -A PREROUTING -p tcp -i eth0 -d 1.2.3.4 --dport 21 -j DNAT
--to-destination 192.168.100.3:21
iptables -t nat -A PREROUTING -p tcp -i eth0 -d 1.2.3.4 --dport 1024: -j
DNAT --to-destination 192.168.100.3
And als...
2007 Oct 05
3
DNAT rule for vsftp (PASSIVE FTP)
...1024 from anywhere (Client initiates data
connection to random port specified by server)
- FTP server''s ports > 1024 to remote ports > 1024 (Server sends ACKs
(and data) to client''s data port)
Then, How can I write DNAT rules.
pls assume 1.2.3.4 is the ip of the internert interface.
#DNAT from Internet to the box running VSFTP @ 192.168.100.3
iptables -t nat -A PREROUTING -p tcp -i eth0 -d 1.2.3.4 --dport 21 -j DNAT
--to-destination 192.168.100.3:21
iptables -t nat -A PREROUTING -p tcp -i eth0 -d 1.2.3.4 --dport 1024: -j
DNAT --to-destination 192.168.100.3
And als...
2007 Oct 05
0
[Fwd: Re: DNAT rule for vsftp (PASSIVE FTP)]
...ort specified by server)
> * FTP server''s ports > 1024 to remote ports > 1024 (Server sends
> ACKs (and data) to client''s data port)
>
>
>
> Then, How can I write DNAT rules.
>
> pls assume 1.2.3.4 <http://1.2.3.4> is the ip of the internert interface.
>
> #DNAT from Internet to the box running VSFTP @ 192.168.100.3
> <http://192.168.100.3>
> iptables -t nat -A PREROUTING -p tcp -i eth0 -d 1.2.3.4 <http://1.2.3.4>
> --dport 21 -j DNAT --to-destination 192.168.100.3:21
> <http://192.168.100.3:21>...