On Tue, Jan 17, 2006 at 03:52:00PM -0200, Tiago Cruz wrote:
T> I have a FreeBSD 6.0 running MPD server 3.18_3.
T> The MPD server works very good when I has _direct_ connected by
T> Internet.
T> 
T> My problem is with one _client_ (Win XP) behind NAT from iptables. I
T> have to do some in my PF?
T> 
T> In this case, I've tried do this (in iptables from client):
T> 
T> # Allow forwarding from inside to out and vice versa
T> iptables -A FORWARD -i $INTINT -s $LOCALNETWORK -j ACCEPT
T> iptables -A FORWARD -o $INTINT -d $LOCALNETWORK -j ACCEPT
T> 
T> # Allow pptpd connections (port 1723)
T> iptables -t nat -A PREROUTING -i $EXTINT -p TCP --sport $PUBLICPORTS
T> --dport 1723 -j ACCEPT
T> iptables -t nat -A OUTPUT -o $EXTINT -p 47 -j ACCEPT
T> iptables -A OUTPUT -o $EXTINT -p 47 -j ACCEPT
T> iptables -A INPUT  -i $EXTINT -p 47 -j ACCEPT
T> 
T> But still don't woking. Somebody can help me? Follow the mpd.log:

Masquarading GRE protocol, which is used by PPTP as transport, isn't
simple. Not all NATs can do this. If you are going to server a lot
of clients connecting from random places in the world, then you will
face this problem time to time.

Can you check whether iptables support NATing PPTP?

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to