Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
iptables wieder !
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
serg
n00b
n00b


Joined: 20 Oct 2002
Posts: 35
Location: Halle/W.

PostPosted: Thu Dec 26, 2002 7:17 pm    Post subject: iptables wieder ! Reply with quote

ich habe ein problem,
alles was ich will ist, das mein (router/proxy) über iptables die sends von ausen (inet) z.b IRC DCC files direct zu mein rechner (client) schikt... bis jetzt bin ich mit IRC Bouncer was auf den (router/proxy) installiert ins internet gechatet.

nach vielen howtows habe ich noch immer net verstanden wie es mit den ganzen iptables funz...

was ich versucht habe:

echo "1" > /proc/sys/net/ipv4/ip_forward
iptables -F
iptables -t nat -F
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
Back to top
View user's profile Send private message
Beforegod
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 1494
Location: Frankfurt/Main

PostPosted: Fri Dec 27, 2002 7:26 am    Post subject: Re: iptables wieder ! Reply with quote

serg wrote:
ich habe ein problem,
alles was ich will ist, das mein (router/proxy) über iptables die sends von ausen (inet) z.b IRC DCC files direct zu mein rechner (client) schikt... bis jetzt bin ich mit IRC Bouncer was auf den (router/proxy) installiert ins internet gechatet.

nach vielen howtows habe ich noch immer net verstanden wie es mit den ganzen iptables funz...

was ich versucht habe:

echo "1" > /proc/sys/net/ipv4/ip_forward
iptables -F
iptables -t nat -F
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE


Probier es mal so :

Quote:

iptables -t nat -A POSTROUTING -i eth0 -j MASQUERADE
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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