PUN behind Proxy Server

Options
Hello photon community,

I'm developing a unity application (PUN) which communicates with a self hosted photon server.
Since our customers are sitting behind a proxy server, there are some problems i have to fix.

During the developing process i tryed to simulate our customer's situation:
- block all outgoing and incomming connections in my firewall
- allow only connections via specific port
- set the windows proxy server settings (system control / internet explorer) to the ip and port of the proxy server

For testing i use three pcs:
- one for the PUN client
- one with WinGate (http://www.wingate.com/) installed as our proxy server
- one for the photon server

Unfortunately i'm not able to connect to the server.
I tryed several things but nothing fixed the problem...
- changing the port of client and server to port 80 (because i just allow port 80 in my firewall and in the proxy)
- changing protocol from udp to tcp
- using tools like sshh (https://sourceforge.net/projects/sshh/) or http-tunnel (http://http-tunnel.sourceforge.net/)

When using chrome the proxy will log the connections.
When using the www class in unity the connections will be logged.
When disable the proxy settings all connections will be blocked...

Because i have not enough knowledge about all the stuff, i am at my wit's end.

Is there a possibility to enable proxy settings like Network.useProxy in unity's native networking api?

Thanks in advance and best regards
Daniel

Comments

  • ManuelG
    Options
    The post is over one year old and no response...

    Did you find a solution to this problem?