Re: MPD and client behind firewall



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@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Limited or no connectivity @ school
    ... that I'm being rufused on the grounds that the network is configured not to ... I don't know much abotu wireless. ... never needed a 3rd party client. ... Connecting doesn't make it a client. ...
    (microsoft.public.windowsxp.network_web)
  • Re: FTP Server setup... Im so close!
    ... > I have installed the Internet Information Services, etc, and have the FTP ... Your external client is trying to use Passive Mode. ... Since your server is behind NAT, ...
    (microsoft.public.windowsxp.network_web)
  • Re: AD & NAT
    ... Request you to kindly elaborate on Double NAT and how it would help in this ... The client is a demerged company of the parent. ... The demerged company or client wants to set up its own AD server ... understanding purpose we would call it as primary datacentre while ...
    (microsoft.public.windows.server.active_directory)
  • Re: [PHP] NAT Traversal
    ... If client is using a proxy then store session id against actual IP + proxy ... If client is using NAT then store session against the NAT addr + the ... proxies my connections out to the internet with the public IP 80.1.1.1. ... Your server, on the internet, cannot access my local machine ...
    (php.general)
  • openvpn for windows server
    ... -My requirement is client should have 192.168.10.0/24 ipaddress and it ... I am able to connect client to server, but i am not able to ping any ... I am attachting the server config and client config file, ... # clients or if a connecting client has a private ...
    (comp.os.linux.networking)