Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Need help configuring shorewall rules
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Amfabeta
Tux's lil' helper
Tux's lil' helper


Joined: 12 Aug 2005
Posts: 133
Location: Finland

PostPosted: Mon Sep 12, 2005 3:12 am    Post subject: Need help configuring shorewall rules Reply with quote

Everything else in my shorewall rules works fine but valknut doesn't connect to the internet anymore. Everything works fine if I stop shorewall. Here is my rule (/etc/shorewall/rules) for valknut:
Code:
ACCEPT   fw             net             tcp     4193 #valknut
ACCEPT   fw             net             udp     4193 #valknut

These are the same ports that I have configured in valknut settings. Shouldn't this be enough? Does anyone know what should I do to make it work? :?
Back to top
View user's profile Send private message
Chris W
l33t
l33t


Joined: 25 Jun 2002
Posts: 972
Location: Brisbane, Australia

PostPosted: Mon Sep 12, 2005 4:56 am    Post subject: Reply with quote

According to the Valknut manual you need to open ports inward to your machine (assuming the Valknut is running on the firewall machine) on the TCP/UDP listen ports. In your case:
Code:
ACCEPT   net            fw            tcp     4193 #valknut
ACCEPT   net            fw            udp     4193 #valknut
If your fw->net policy is to allow traffic then your rules posted above will be unneeded.

Alternatively, you could run in passive mode with reduced ability.
_________________
Cheers,
Chris W
"Common sense: The collection of prejudices acquired by age 18." -- Einstein
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum