Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   eAthena Router Installation Guide (https://postpacific.loc-online.com/showthread.php?t=2024)

Digital 03.10.2005 01:46

eAthena Router Installation Guide
 
READ THIS (NEW):BEcause of lan_support.conf in eAthena, this is kind of obsolete. This is for if you cant use lan_support.conf, or are usign the japanese athena. Also, for a guide for using proxy3 on windows can be found here

|Upas|'s Router Guide

Before you begin: Dont think doing what is listed in this guide will magically fix your server. If your server isnt working even for your network, get it fixed so you can log on from a different network computer than the host.

WARNING: I am no responsible for any data loss. BACKUP YOUR FILES before starting (even tho its highly unlikely anything will go wrong). Secondly: DO NOT USE INET_IP. You do not ned it with this program.


GUIDE

What you need: Two computers. 1 host, and 1 proxy. Know how to forward ports

#1: Set up Athena with your LAN IP (1xx.xx8.xxx.xxx) (<- find it by Start->Run type in CMD then type ipconfig. Look at the Ip Address line. This is your network IP address) Save this IP for later use.

#2: Download the program below onto computer not hosting the server (proxy2)

CONNECTION SETTINGS

#3: Under the WAN IP put the IP of your network (the one your ISP gives you) Dont put anything in the listen on IP (keep at 0.0.0.0).

SERVER SETTINGS

#4: Replace IPs with IP of server computer(which you got in step 1) and default ports with the correct ports(Zone = Map, Account= Login, Character=Character). Not all The default ports (on the proxy) are correct. The ports for athena are 6900 for login, 5121 for map, and 6121 for char.

ROUTER SETUP (not on program, on router you fool)

#5: Forward ports on your router to the computer running the proxy. On your port forwarding screen, forward the port of your server to the proxy.
(For example, if your map server was on port 5121, you would forward port 5121 to the proxy computer).

START UP

#6: Start up your athena server

#7: Press START on the forwarding program (proxy computer).

You are now ready to accept connections.



One computer setup

To do this on one computer, DL proxy 3.
Set up the connection settings like you had proxy 2
SERVER SETTINGS
Check the forward local port box
In the 1st port boxes, enter the real server ports (If the login port was 6900, you would put in 6900)
In the 2nd port boxes, Enter the ports 1 above the server port (If the login port was 6900, put in 6901 etc.)
ROUTER SETUP
Forward ports to the ports in the 1st box on the computer running the proxy (same as server computer).
START UP
Start up your server, then press start on the proxy program



Krazed.Out's Proxy 3 with linux Guide (xD)

QUOTE

Well, I finally figured out how to get proxy3 working on linux. Maybe some of you guys already have it working, but for those people who didn't, here's a guide to get proxy3 working without any hassles.

1. Download proxy3 from |Upas|'s router guide.
2. Now download,compile and install WINE.
3. Open ports 1002,1003,1004 on your firewall (iptables and such) if you are using one.
4. Forward ports 1002,1003 and 1004 to your linux computer.
5. Boot into X. (startx or just configure linux so that it boots into runlevel 5.)
6. startup a terminal program (I'm using gnome, so for me it's gnome-terminal.) or switch to the command line.
7. Now start Athena from the terminal or command line. (I'm assuming that you are using the default ports for Athena.)
8. Use WINE to start proxy3.
9. Fill in all the boxes under Connection Settings. (For the listen on (LAN IP), leave it at 0.0.0.0)
10. Under Server Settings, Fill in the IP of your linux box.
11. Right next to the IP boxes, there are two other boxes. For the box on the left, fill in the ports which ATHENA IS USING. (e.g 6900,6121,5121)
12. Go into the command line interface.
13. Type this in (Without quotes) "cat /proc/sys/net/ipv4/ip_local_port_range"
14. For the box on the right, fill in any port from the output you got by doing "cat /proc/sys/net/ipv4/ip_local_port_range"

Short explaination: The ports in /proc/sys/net/ipv4/ip_local_port_range define what ports which can be freely usable by any program.

Proxy 3 on Win:
Quote:
ask your router's manufacturer on how to forward ports (if neccessary say TCP/IP)

forward 6900 6901 5121 5122 6122 to your LAN IP (To find LAN ip, go to command prompt and type ipconfig /all, its the one that just says IP)

Run Proxy3

Put your WAN ip in the WAN ip area

put your LAN ip in the IP area next to all 3 servers
for ports
-put 6900->6901 for login
-5121->5122 for map
-6121->6122 for char

in your own (not others) put either locahlost (127.0.0.1) or your LAN IP, and connect to port 6900

for people in your LAN, let them connect to your LAN ip and port 6900

for people outside your LAN, tell them to connect to your WAN and port 6901

EXTRA NOTE: check the thing on proxy3.exe that says automatic redirect. also your proxy3.exe has to be running for it to work =o. Athena servers have to be on too.




Downloads:

ALL CREDIT FOR THESE PROGS GO TO AEGIS' TIMECOP.

Proxy2: http://www.frostic.nl/proxy2.exe

Proxy3: http://www.frostic.nl/proxy3.exe

Thanks to:
Evera for the proxy 3 on windows part
timecop for making the prog
AppleGirl for deving athena
TweaK for hosting the files
Me for making this guide
::[Krazed.Out]:: for that proxy 3 part

EDIT: Made guide more understandable. Re-wrote PS section (changed name too). Added colors and headings. Added Krazed.Out;s section. FIXED PROXY 3 SECTION. 2ND PORT AND 1ST BOX PORTS WERE SWITCHED AROUND IN GUIDE :happy: :happy:


All times are GMT. The time now is 15:40.