DebianThis forum is for the discussion of Debian Linux.
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.
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.
Distribution: Mint Cinnamon, Debian sid KDE, PCLOS Cinnamon, Manjaro XFCE
Posts: 280
Rep:
Game & firewall
I have two installations of Debian on the same machine, one Etch and one Sid.
On the Etch install, the Wordbiz game (java based) has no problem connecting to the game server. On the Sid install, it fires up but never connects.
I have determined it is the firewall by disabling it for a test on Sid and it connects fine. I configure my firewall on both with Guarddog and looking there, I didn't note any differences in protocols allowed.
I was wondering if there was a utility that I could compare the two iptables files with and identify the difference? Could someone point me to the correct iptable file(s) to compare?
I am behind a router that doesn't allow forwarding and has a strong password so I suppose it isn't a biggie to drop the firewall for just playing the game but I don't feel right about that.
You need the diff command. Copy the iptables rules from both distro's to a separate folder and read the man page for diff. Redirect the output to a separate file for easy reading The command should look like
Hmmm.... There is no file of all rules for iptables. Well, make your own:
Code:
iptables -Ln >> iptables_etch/sid.txt
As I don't have any iptables rules I can't test this, but it should work. Execute as root, then change ownership and/or permissions of the file in such a way that a regular user can access it (run diff as normal user) Also, read the iptables man-page on it's options.
First: name the resulting file either iptables_etch.txt or iptables_sid.txt according to the distro you're running it on. Did you check if the iptables command is present? Just iptables -L should give you output (on screen) It lists all rules present for iptables. If it doesn't, iptables isn't present (although I doubt that'll be the case as it's a dependency for Guarddog) or not (properly) configured.
If iptables -L does produce output, retry my original command but omit the n option. (thus only the -L option)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.