Urban Terror Forums: iptables accept urt port - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
Page 1 of 1

iptables accept urt port Rate Topic: -----

#1 User is offline   gangofkittens Icon

Posted 17 May 2015 - 09:41 AM

Hello, so I'm trying to configure my iptables to start the UrT server and I have a problem with that.
And I'm running Debian 7 on a VPS.
This is my current iptables script:

Spoiler


iptables -L looks like this:

Spoiler


And this is what happens when I start the UrT server:

Spoiler

Thanks

This post has been edited by gangofkittens: 17 May 2015 - 10:20 AM

std::cout << "meow";

#2 User is offline   KroniK Icon

  •   QA member   
  • Account: kronik
  • Country:
  • Joined: 14-January 11
  • Posts: 305

Posted 18 May 2015 - 12:56 AM

That looks like a DNS error not an iptables issue. Can you ping master.urbanterror.info?

Also, does it work when the iptables service is stopped?

This post has been edited by KroniK: 18 May 2015 - 12:57 AM


#3 User is offline   gangofkittens Icon

Posted 18 May 2015 - 05:33 AM

Yes it does works with iptables stopped and when the rules are flushed.
And I can't ping master.urbanterror.info

Ah well thanks!!! It was enough to add the DNS rule to the iptables :rolleyes: tottaly forgot about that.

What I did is added these 2 lines into the iptables script:
# Allow DNS
$IPT -A OUTPUT -p udp -o venet0 --dport 53 -j ACCEPT
$IPT -A INPUT -p udp -i venet0 --sport 53 -j ACCEPT

This post has been edited by gangofkittens: 18 May 2015 - 12:36 PM

std::cout << "meow";

Page 1 of 1


Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Advertisement


Copyright © 1999-2024 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942