View previous topic :: View next topic |
Author |
Message |
iloose2 Tux's lil' helper
Joined: 16 Jul 2002 Posts: 89 Location: Minnesota
|
Posted: Thu Oct 17, 2002 6:02 pm Post subject: Ipchains opts |
|
|
I'm trying to add a smtp rule to ipchains.
When I add the rule with ipchains -A input -p TCP -d 0.0.0.0/0 25 -j ACCEPT
This is the result: ACCEPT tcp ------ anywhere anywhere any -> smtp
this rule does not work, the only difference between it and the others is the port number and the opt. How do I change the opt to be -y----
??
Thanks. |
|
Back to top |
|
|
BackSeat Apprentice
Joined: 12 Apr 2002 Posts: 242 Location: Reading, UK
|
Posted: Thu Oct 17, 2002 7:26 pm Post subject: |
|
|
Why are you using ipchains as opposed to iptables?
BS |
|
Back to top |
|
|
iloose2 Tux's lil' helper
Joined: 16 Jul 2002 Posts: 89 Location: Minnesota
|
Posted: Thu Oct 17, 2002 8:15 pm Post subject: |
|
|
becuause I just leased a server with red hat 7.2... |
|
Back to top |
|
|
BackSeat Apprentice
Joined: 12 Apr 2002 Posts: 242 Location: Reading, UK
|
Posted: Fri Oct 18, 2002 4:36 am Post subject: |
|
|
...but this is a Gentoo forum... |
|
Back to top |
|
|
iloose2 Tux's lil' helper
Joined: 16 Jul 2002 Posts: 89 Location: Minnesota
|
Posted: Fri Oct 18, 2002 6:52 am Post subject: |
|
|
Yes, but the answer would be the same... |
|
Back to top |
|
|
|