Page 25 of 40

Re: Alien Front Online Server WIP *Edit: Now Online

Posted: Thu Nov 10, 2016 1:41 pm
by dreamcast-news
Okay, and how add the IPTables rule on rasberry ? :)

Re: Alien Front Online Server WIP *Edit: Now Online

Posted: Thu Nov 10, 2016 2:15 pm
by pcwzrd13
dreamcast-news wrote:Okay, and how add the IPTables rule on rasberry ? :)
Log in with username "pi" and password "raspberry" and then enter the following command:

"sudo iptables -t nat -A PREROUTING -p tcp -d 63.251.242.131 -j DNAT --to-destination 146.185.135.179"

Note that this will be erased when you power off or restart the Pi so you'll have to enter it again.

Re: Alien Front Online Server WIP *Edit: Now Online

Posted: Thu Nov 10, 2016 3:08 pm
by dreamcast-news
pcwzrd13 wrote:Note that this will be erased when you power off or restart the Pi so you'll have to enter it again.
It isn' for the convenience :? .

Re: Alien Front Online Server WIP *Edit: Now Online

Posted: Thu Nov 10, 2016 3:22 pm
by Shuouma
dreamcast-news wrote: It isn' for the convenience :? .
There are several ways of keeping the IPTables rules after a reboot, you can google if you want that.

But the dreampi should add it, so it would be good if you could add the IPTables rule
manually (if you have time) and if AFO then works we know that there is probably a bug in the dreampi
software.

Re: Alien Front Online Server WIP *Edit: Now Online

Posted: Thu Nov 10, 2016 3:39 pm
by dreamcast-news
pcwzrd13 wrote:Log in with username "pi" and password "raspberry" and then enter the following command:

"sudo iptables -t nat -A PREROUTING -p tcp -d 63.251.242.131 -j DNAT --to-destination 146.185.135.179"
Tested

Image

Same error.

Re: Alien Front Online Server WIP *Edit: Now Online

Posted: Thu Nov 10, 2016 4:40 pm
by -drez01-
^^^This worked for me with dreampi 1.1 (the only version that seems to work with my serial modem) after adding the dreamcasts IP to my routers DMZ

Thanks PCwzrd13!

Now to just figure out how to save the iptables... I'm a Linux noob :oops:

Re: Alien Front Online Server WIP *Edit: Now Online

Posted: Thu Nov 10, 2016 4:42 pm
by kazade
@-drez01- I saw you mention before that you're stuck on 1.1. I don't suppose you have any logs from attempting with 1.5?

I can't think of anything that changed since 1.1 that would stop it working, to be honest it's a miracle 1.1 works at all :p

Re: Alien Front Online Server WIP *Edit: Now Online

Posted: Thu Nov 10, 2016 5:02 pm
by -drez01-
I don't but I will post it for you when I have time. I notice that a light on my modem comes on after boot with 1.5 (and 1.2) that normally does not after booting 1.1. It does not even make noise (it has a speaker). I get no answer or no carrier errors using Planet Web 2.

I'm just glad I found a solution that works with AFO, even without VOIP support on my end. My pi is a model B BTW

Forgot to say Thank You kazade for all your work on Dreampi and the resurrected games. :mrgreen: You are the man!

Re: Alien Front Online Server WIP *Edit: Now Online

Posted: Thu Nov 10, 2016 5:24 pm
by itsthinkingstill
Im still getting the "lost contact from server" bug, any ideas or a work in progress?

Re: Alien Front Online Server WIP *Edit: Now Online

Posted: Thu Nov 10, 2016 6:53 pm
by HuntrRose
HuntrRose wrote:
Xiden wrote: Maybe something with your modem itself is causing issues :?: Would you mind trying plugging in the pi directly to your modem and unplug the router? (I'm just curious if it will work for you then)
I have not tried that yet for AFO.. if where I have the modem wasnt such a PITA to get to Id have done it already :lol:

dunno if Ill get to it tonight.. but if it works in a way thats kind of a drag since Ill have to change my whole setup to be able to do that when I want to play.. :x


-edit to add

yeah.. that video posted is one of the various things that happens to me also...

so.. yeah.. its worse connected directly to the modem..
I cant even get in the lobby that way.. im getting this..
dreamcast-news wrote:New day, new pb :-b
Blocking on this screen and then disconnected.

Image