Find the answer to your Linux question:
Results 1 to 2 of 2
My objective is to reset UDP connectionn... if i want to reject tcp connection ...for that i am using Code: /sbin/iptables -I FORWARD -p tcp -s $src_ip -j REJECT --reject-with ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2011
    Posts
    26

    in iptables....how to reset UDP connection....


    My objective is to reset UDP connectionn...

    if i want to reject tcp connection ...for that i am using
    Code:
    /sbin/iptables -I FORWARD -p tcp -s $src_ip -j REJECT --reject-with tcp-reset
    What problem i am facing....
    if My Skype voip call is running....and i reject tcp connection...than skype is disconnected ...But the Voip call is Continue...
    for that i have to reset UDP connection.....

    please suggest me how to stop this voice calls....

  2. #2
    Linux Enthusiast scathefire's Avatar
    Join Date
    Jan 2010
    Location
    Western Kentucky
    Posts
    626
    how about using the udp flag, (-p udp) instead of the tcp flag. being that udp is connectionless, it doesn't have those rst flags built into it. i think reject will work just fine (-j REJECT).
    linux user # 503963

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •