K-12 Forums

Talk with other K-12 network administrators in your state.

Or see all states.

Categories

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

This discussion has been inactive for longer than 30 days, and is thus closed.
    • CommentAuthortechbert
    • CommentTimeJun 28th 2009
     permalink
    First, I am a Ubuntu Noob, so let me apologize in advance for any mis-understanding.:bigsmile: Looking over the various forums and tutorials, it appears that ip addresses and ports can be redirected based on user login. If that is the case, would it not be possible to redirect selected users to OpenDNS? I have tried several concatenations of the various iptables syntax, but can't seem to get it right.:cry: If this is possible, can anyone point me in the right direction? Thanks in advance for any feedback.
    • CommentAuthorrotblitz
    • CommentTimeJun 28th 2009 edited
     permalink
    • CommentAuthortechbert
    • CommentTimeJul 1st 2009
     permalink
    Came up with the following, tried variations on a theme, but got the same response:

    # iptables -t nat -I PREROUTING -i 0/0 -m owner --gid-owner 1001 -p udp --dport 53 -j DNAT --to-destination 208.67.222.222
    iptables: Invalid argument
  1.  permalink
    http://www.zoominternet.net/~lazydog/iptables-tutorial.html#OWNERMATCH

    https://ssl.scroogle.org/cgi-bin/nbbwssl.cgi?Gw=man+iptables

    You might have a look at the tutorial or man pages for iptables to ensure your syntax is correct.

This discussion has been inactive for longer than 30 days, and is thus closed.