IPTABLES and RELATED states
From: Andrew Townsend (apstownsend_at_gmail.com)
Date: 07/26/05
- Next message: franv: "Re: ssh library attack"
- Previous message: CL (dnoyeB) Gilbert: "Re: Linux DHCP Client"
- Next in thread: G_r_a_n_t__at_dodo.com.au: "Re: IPTABLES and RELATED states"
- Reply: G_r_a_n_t__at_dodo.com.au: "Re: IPTABLES and RELATED states"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 26 Jul 2005 08:17:46 -0700
Hi,
Is it possible to accept a connection to a new port if another
connection from the same orginating IP has been accepted to a different
port. For example;
iptables -A FORWARD -i eth0 -p tcp --dport 443 -j ACCEPT
iptables -A FORWARD -i eth0 -p tcp --dport 3389 -m --state
ESTABLISHED,RELATED -j ACCEPT
iptables -A FORWARD DROP
The client connects to HTTPS (tsweb), since the client now has an
active HTTPS link to the firewall it now allows the same client through
port 3389.
Now this doesn't work just hoped it might give you an idea of what I am
trying to do, personally I dont think it's possible!
Thanks
Andrew
- Next message: franv: "Re: ssh library attack"
- Previous message: CL (dnoyeB) Gilbert: "Re: Linux DHCP Client"
- Next in thread: G_r_a_n_t__at_dodo.com.au: "Re: IPTABLES and RELATED states"
- Reply: G_r_a_n_t__at_dodo.com.au: "Re: IPTABLES and RELATED states"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|