Sipie and iptables
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Currently I cannot play Sirius streams in Sipie unless I run "iptables
- -P INPUT ACCEPT", but that is (hopefully) only a temporary solution.
I'd like to allow all traffic to flow between my computer and
Sirius.com, passing right through iptables, so that I can listen to
Sirius without having to open up my system.
My current iptables script is:
- -----------------------------
#!/bin/sh
#set policy on input chain in default (filter) table to drop
iptables -P INPUT DROP
#flush input chain
iptables -F INPUT
#load the ftp connection tracker module (otherwise active mode ftp won't
work)
modprobe ip_conntrack_ftp
#accept traffic from established and related connections
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
#accept traffic for apache2
iptables -A INPUT -p TCP --dport 8080 -j ACCEPT
#accept traffic for wesnothd
iptables -A INPUT -p TCP --dport 15000 -j ACCEPT
#accept traffic for prboom
iptables -A INPUT -p TCP --dport 5030 -j ACCEPT
- ------------------------------
It's been a while since I've worked with iptables, so I've completely
forgotten how to allow ALL connections from just one domain (Or IP, but
domain would be much better, if possible).
Thanks!
- --
http://digital-haze.net/~pobega/ - My Website
If programmers deserve to be rewarded for creating innovative
programs, by the same token they deserve to be punished if they
restrict the use of these programs.
- Richard Stallman
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGUuujg6qL2BGnx4QRAtraAJwMRyU2XPfG7DozQNTT5UFVf9wRAQCeJsqd
iYZUYZO8W23nzjWd0zv8BoY=
=wPji
-----END PGP SIGNATURE-----
Reply to: