anon_root for 2 separate IP's on 1 VPS

Post Reply
User avatar
whtevrwt
New to forums
New to forums
Posts: 5
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Fri Jun 12, 2015 12:52 pm

anon_root for 2 separate IP's on 1 VPS

Post by whtevrwt »

So I have one VPS running 2 servers. One is for Comp and another for Jailbreak. I've setup the Public FTP (vsftp) for the jailbreak server which is ftp://jb.emdclan.com. That works exactly how I want it to work. I'm trying to do the same with my comp server but it just leads to the same default IP that the VPS comes with, even though it has its own separate IP.

The problem I want solved is how I'm able to have ftp://comp.emdclan.com lead to ONLY 104.153.108.119 while ftp://jb.emdclan.com leads to 192.223.30.177 in /etc/vsftpd.conf.

Note: I can't have the comp public ftp up because I have to sacrafice one for the other. So if I want the comp ftp to be publicly available, I'd have to change the /etc/vsftpd.conf anon_root ip to my comp ip, instead of the jailbreak ip.
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: anon_root for 2 separate IP's on 1 VPS

Post by soja »

The only way I see this maybe working is to start another FTP server(maybe proftp?) and bind it to the other IP address. If you can run 2 instances of vsftpd and bind each to their own IP address, that might also work.

I don't have much experience with FTP servers on Linux, sorry I couldn't be of further help.
Not a NFO employee
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: anon_root for 2 separate IP's on 1 VPS

Post by soja »

Also, since automatic demos are something I have been looking into, you may wish to use this sourcemod plugin: https://forums.alliedmods.net/showthread.php?p=1517461

It uploads your demos to a remote FTP server, so you can have 1 FTP link with folders for each server.
Not a NFO employee
User avatar
whtevrwt
New to forums
New to forums
Posts: 5
Joined: Fri Jun 12, 2015 12:52 pm

Re: anon_root for 2 separate IP's on 1 VPS

Post by whtevrwt »

soja wrote:Also, since automatic demos are something I have been looking into, you may wish to use this sourcemod plugin: https://forums.alliedmods.net/showthread.php?p=1517461

It uploads your demos to a remote FTP server, so you can have 1 FTP link with folders for each server.
I've wanted to use something like this but the problem I'm always having is the cURL extension not working correctly. I run a linux (Ubuntu 12.04) server for CS:GO and the cURL extension never wants to start up. It always says, "curlext.so not working" or something along those lines.
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: anon_root for 2 separate IP's on 1 VPS

Post by soja »

running sm exts list should tell you what the problem is.
Not a NFO employee
User avatar
whtevrwt
New to forums
New to forums
Posts: 5
Joined: Fri Jun 12, 2015 12:52 pm

Re: anon_root for 2 separate IP's on 1 VPS

Post by whtevrwt »

I get this error:

Code: Select all

[16] <FAILED> file "curl.ext.so": /steamcmd/csgo/csgo/addons/sourcemod/extensions/curl.ext.so: undefined symbol: _ZNSs9_M_mutateEjjj
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: anon_root for 2 separate IP's on 1 VPS

Post by soja »

Looks like the extension needs to be recompiled for Linux.
Not a NFO employee
User avatar
whtevrwt
New to forums
New to forums
Posts: 5
Joined: Fri Jun 12, 2015 12:52 pm

Re: anon_root for 2 separate IP's on 1 VPS

Post by whtevrwt »

This is the latest version: https://code.google.com/p/sourcemod-cur ... p&can=2&q=

it states that I need to recompile under Debian 5, but I'm running Ubuntu 12.04.
Post Reply