Certainly the second of them should work... you are specifying the ACCEPT rule before the DROP one, yes?
> -----Original Message----- > From: [email protected] [mailto:hlds_linux- > [email protected]] On Behalf Of FPSB | Goerge > Sent: 13 September 2009 03:35 > To: Half-Life dedicated Linux server mailing list > Subject: [hlds_linux] Rcon white list with iptables? > > My stuff has gotten rcon crashed a few times, i tried making the kick > convars so high, that it'd be megaspam for them to work... but still a > few > get through. > > so i thought about shutting off rcon with an iptables rule, but i want > to > allow certain addresses so admins and I can still use hlsw. > > -A INPUT -p tcp --dport 27015 -j DROP > > that works great, but I can't seem to white list any ip's through > > i tried both > -A INPUT -s MY IP -j ACCEPT > > -A INPUT -p tcp --dport 27015 -s MY_IP -j ACCEPT > > no dice > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlds_linux _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux

