Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-27-2003, 08:32 PM
|
#1
|
Member
Registered: Jan 2003
Location: norfolk, VA
Distribution: suse 8.2, redhat 8.0
Posts: 60
Rep:
|
iptables & conntrack
I am having problems with my ftp, and ircing behind my firewall, ive been goggling and trying to find out why some time these services work, and then out of the blue dont until I flush ip tables. I came to the conclusion that i need to use conntrack, but I really need help with this, I couldnt get it to work
my table looks something like this now
target prot opt source destination
ACCEPT udp -- anywhere anywhere udp dpt:fsp
ACCEPT tcp -- anywhere anywhere tcp dpt:ftp
ACCEPT udp -- anywhere anywhere udp dpt:ssh
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
ACCEPT udp -- anywhere anywhere udp dpt:auth
ACCEPT tcp -- anywhere anywhere tcp dpt:ident
ACCEPT udp -- anywhere anywhere udp dpts:33000:44000
ACCEPT tcp -- anywhere anywhere tcp dpts:33000:44000
ACCEPT udp -- anywhere anywhere udp dpts:6660:6669
ACCEPT tcp -- anywhere anywhere tcp dpts:6660:6669
DROP tcp -- anywhere anywhere
DROP udp -- anywhere anywhere
and i tried replacing the ftp and irc definitions to something like this and didnt go over to well.
iptables -A INPUT --ctproto tcp -s 0/0 -d 0/0 --destination-port 20 --syn -j ACCEPT
has anyone else had any experience with this that could help?
|
|
|
11-28-2003, 06:57 PM
|
#2
|
Member
Registered: Sep 2002
Location: lahore pakistan
Distribution: slackware,redhat, FreeBSD,openbsd
Posts: 219
Rep:
|
i think ur question is about internet connection sharing.
google about ip masquerade.
|
|
|
12-02-2003, 11:11 AM
|
#3
|
Member
Registered: Jan 2003
Location: norfolk, VA
Distribution: suse 8.2, redhat 8.0
Posts: 60
Original Poster
Rep:
|
no i am not sharing a connection, it's straight through, no nat
|
|
|
All times are GMT -5. The time now is 12:41 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|