[Gllug] routing broadcast traffic

Jackson, Harry HJackson at colt-telecom.com
Wed Jan 30 12:37:45 UTC 2002


Would this help then

/bin/echo "0" > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 
iptables -A INPUT -i $IFACE -d 192.168.1.255 -j ACCEPT 

I am not sure of the full implications of this but you could route the
broadcasts to any box you want using another IP.

Or this looks wiser.

http://www.linespeed.net/screens/projects/bwacct/build/bw-acct-0.3/examples/
firewall.iptables

I cut the following from it


QUAKE_PORTS="27900:27920"
IPADDR="63.239.229.96/27"
UNPRIVPORTS="1024:65535"
  
$IPTABLES -A INPUT -i eth0 -p udp \
  			-s 0/0 --sport $QUAKE_PORTS \
  			-d $IPADDR --dport $UNPRIVPORTS -j ACCEPT



Harry


***********************************************************************
COLT Telecommunications
Registered in England No. 2452736
Registered Office: Bishopsgate Court, 4 Norton Folgate, London E1 6DQ
Tel. 020 7390 3900

This message is subject to and does not create or vary any contractual
relationship between COLT Telecommunications, its subsidiaries or 
affiliates ("COLT") and you. Internet communications are not secure
and therefore COLT does not accept legal responsibility for the
contents of this message.  Any view or opinions expressed are those of
the author. The message is intended for the addressee only and its
contents and any attached files are strictly confidential. If you have
received it in error, please telephone the number above. Thank you.

***********************************************************************


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list