forums.PPSSPP.org
PPSSPP to PSP/PSVita Multiplayer with zeroteir/N2N - Printable Version

+- forums.PPSSPP.org (https://forums.ppsspp.org)
+-- Forum: PPSSPP - Playstation Portable Simulator Suitable for Playing Portably (/forumdisplay.php?fid=1)
+--- Forum: Ad-Hoc Multiplayer (/forumdisplay.php?fid=34)
+--- Thread: PPSSPP to PSP/PSVita Multiplayer with zeroteir/N2N (/showthread.php?tid=29311)



PPSSPP to PSP/PSVita Multiplayer with zeroteir/N2N - onelight - 02-24-2023 02:46 AM

Required on a router which support zerotier/N2N
Openwrt router is recommended

Required install PRO Online Client in your PSP/PSV

After join zerotier network or N2N network
configure router firewall and add this to you router firewall rules

Code:
iptables -I FORWARD -i ztfp6deq25 -j ACCEPT
iptables -I FORWARD -o ztfp6deq25 -j ACCEPT
iptables -t nat -I POSTROUTING -o ztfp6deq25 -j MASQUERADE

iptables -t nat -A POSTROUTING -s 172.27.0.0/16  -d 172.27.0.0/16 -j SNAT --to-source 192.168.1.153

change ztfp6deq25 to your zerotier/N2N adapter
172.27.0.0/16 to your network segment
192.168.1.153 to your PSP/PSVita IP

https://www.youtube.com/watch?v=ykPs9SwKPS0


RE: PPSSPP to PSP/PSVita Multiplayer with zeroteir/N2N - AdamN - 02-25-2023 08:53 AM

Other than OpenWRT, DDWRT and LEDE based routers should works too.


RE: PPSSPP to PSP/PSVita Multiplayer with zeroteir/N2N - sakcarl - 08-14-2023 05:56 AM

Thank you for providing the necessary steps to configure the router firewall for zerotier/N2N network. I will make sure to follow these instructions and customize the code according to my specific setup.