Page 4 of 4

Re: PSO v2 issue (PC-DC Server Ubuntu)

Posted: Sat May 06, 2017 12:11 pm
by Draven
FIXED!

you must do a MASQUERADE with POSTROUTING on iptables

here is the command for console
iptables -t nat -A POSTROUTING -o ens33 -j MASQUERADE

ens33 must be your LAN interfac

Re: [fixed] PSO v2 issue (PC-DC Server Ubuntu)

Posted: Sat May 06, 2017 1:01 pm
by Draven
THIS IS MY FINALLY SCRIPT :)

#!/bin/bash

iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -t nat -F
iptables -F

echo 1 > /proc/sys/net/ipv4/ip_forward


iptables -t nat -A POSTROUTING -o ens33 -j MASQUERADE

cd /etc/mgetty
sudo mgetty -D /dev/ttyS1 -m '"" AT' &

read -n1 -r -p "Press any key to turn on the modem..." key

sudo killall -USR1 mgetty

Re: [fixed] PSO v2 issue (PC-DC Server Ubuntu)

Posted: Sun May 07, 2017 6:48 am
by Strik3r91
Nice! U said u dont know a shit about ubuntu lol!!

Re: [fixed] PSO v2 issue (PC-DC Server Ubuntu)

Posted: Sun May 14, 2017 2:07 am
by Draven
i have one friend, he is nice with ubuntu, i told u same, i dont know nothing about ubuntu xD

Re: [fixed] PSO v2 issue (PC-DC Server Ubuntu)

Posted: Mon May 15, 2017 7:29 pm
by Strik3r91
Draven wrote:iptables -t nat -A POSTROUTING -o ens33 -j MASQUERADE

Lol thanks exactly this line fixed my problems with AFO when i got dsconnected in lobby after "collecting game information"
Weird i didnt have this problem on ubuntu 8 crunchbang, but lately i moved to new ubuntu 16 :D

Re: [fixed] PSO v2 issue (PC-DC Server Ubuntu)

Posted: Tue May 16, 2017 1:10 pm
by Draven
np bro :) welcome!