Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] iptables rules problem
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
fangorn
Veteran
Veteran


Joined: 31 Jul 2004
Posts: 1886

PostPosted: Fri Jun 30, 2006 4:35 pm    Post subject: [SOLVED] iptables rules problem Reply with quote

Hi,

i have some troubles with rules for my little two box network.

I am typing this on a tv, as this is the only x desktop with internet connection at the moment, so please be patient if i miss a spelling error :wink:

I have two boxes, one with a two nics, eth1 connectec to a adsl modem, eth0 connected via crossover patchcable to the second machine.

The router will be running 24/7, so i want to run aMule/Bittorrent on this machine. Additionaly I will run a MythTV setup on this machine.
the second machine I want to use for working and gaming, and for administrative tasks for the router, as i dont like reading on a TV :twisted: Therefore I need a SSH connection with the ability to reroute X applications to my workstation.

i read the Router Howto, the IPtables for Newbies Guide, the gentoo wiki, tried the complete last week (at least every free minute as i have to work sometimes :roll: ) to get this setup working.

But I never had internet connection at my workstation (NAT and MASQUERADE did neverwork) and constantly loose ssh connection. this is really annoying.

I built any option into the kernel that is in the iptables tree, except the Experimental marked ones.

even the plain scripts from the Howtos did not work for masquerading.

Anybody can help me with this?

Thanks in advance,
fangorn

Edit:
Solved after listening to "Dreamtheater - Take the time" 8)
_________________
Video Encoding scripts collection | Project page
Back to top
View user's profile Send private message
nielchiano
Veteran
Veteran


Joined: 11 Nov 2003
Posts: 1287
Location: 50N 3E

PostPosted: Sun Jul 02, 2006 5:04 pm    Post subject: Re: [SOLVED] iptables rules problem Reply with quote

fangorn wrote:
Edit:
Solved after listening to "Dreamtheater - Take the time" 8)

I wish this worked with my problem too... ;-)
Back to top
View user's profile Send private message
HoLzPLatTeN
n00b
n00b


Joined: 11 Feb 2005
Posts: 57
Location: The middle of nowhere

PostPosted: Mon Jul 10, 2006 4:39 pm    Post subject: Reply with quote

Can you explain how you solved your problem, please?
_________________
Unanswered posts
Back to top
View user's profile Send private message
fangorn
Veteran
Veteran


Joined: 31 Jul 2004
Posts: 1886

PostPosted: Tue Jul 11, 2006 2:27 pm    Post subject: Reply with quote

I just thoroughly checked the syntax, started from scratch with minimal configuration and added one rule after the other. Some rules in the Router Howtos did not apply to my case, some did not work, dont ask me why. Firstly I forgot a option in the kernel needed for routing, ...

Just keep cool and "take the time".
_________________
Video Encoding scripts collection | Project page
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