Time |
Nickname |
Message |
20:29
π
|
quercus |
Hello all. If it's not looked upon badly, I'd like to ask a technical question about the Warrior web frontend. |
20:30
π
|
quercus |
Is is possible to forward the web admin on :8001 in such a way that I can point a browser at the box *running* the Warrior, not the Warrior itself once I've ssh'ed in? |
20:31
π
|
* |
Smiley tries to figure out what your asking |
20:31
π
|
* |
ivan` has trouble too |
20:31
π
|
Smiley |
quercus: can you ask in another way? |
20:32
π
|
Smiley |
you - < box > < Vbox > |
20:32
π
|
Smiley |
atm it forwards 8001 from Vbox to box |
20:32
π
|
Smiley |
are you doing bridged networking or something? (if so, yes, as I do exactly that). |
20:32
π
|
ivan` |
I think he wants virtualbox to listen on 0.0.0.0 |
20:33
π
|
ivan` |
I don't know how to do that, but you can always use an SSH port forward |
20:33
π
|
quercus |
So, rather than having to fire up a terminal and ssh into the box with the `ssh -L8001:localhost:8001` command, can i just point my browser at http://nameofmyserver:8001? |
20:33
π
|
ivan` |
or that thing you said |
20:33
π
|
Smiley |
hmmm yes |
20:33
π
|
Smiley |
except my brain is hurting and I can't think how |
20:33
π
|
Smiley |
quercus: we talking an internal network or public? |
20:34
π
|
quercus |
technically both, as it's the dmz for my local network. |
20:34
π
|
quercus |
but even local would be a start |
20:34
π
|
Smiley |
heh |
20:34
π
|
ivan` |
tell virtualbox to use bridged networking on the warrior, this will give it a real IP |
20:34
π
|
Smiley |
well if you put VirtualBox into bridged mode, and give it a real IP |
20:34
π
|
* |
Smiley hi5's ivan` |
20:34
π
|
quercus |
i should probably have pointed out first that i'm running virtualbox headless on ubuntu server |
20:34
π
|
Smiley |
then the port forwarding will forward to teh real IP :) |
20:34
π
|
Smiley |
quercus: ok, I run it headless too |
20:35
π
|
Smiley |
I have it in bridged mode, dhcp and grabs an IP (i've set it static but we can ignore that) |
20:35
π
|
Smiley |
I got to http://ip.defined.by.dhcp:8001 |
20:35
π
|
Smiley |
and it works |
20:36
π
|
quercus |
sweet. i don't mind whether it's at http://homeserver:8001 or the warrior has its own 10.0.1.* address as if it was a real machine |
20:37
π
|
Smiley |
quercus: do teh section option |
20:37
π
|
Smiley |
can you do dhcp? thats the quickest/easiest way |
20:37
π
|
quercus |
my router is my dhcp server |
20:38
π
|
Smiley |
can yo uhave it hand out static IP's? |
20:38
π
|
quercus |
yeah. i have my server and desktop issued ip's determined by mac address |
20:38
π
|
Smiley |
do teh same with the warrior and happyness reigns :) |
20:39
π
|
quercus |
how would i implement that from the command line, bearing in mind i have no gui virtualbox |
20:48
π
|
Smiley |
god your making this hard ;) |
20:48
π
|
Smiley |
ok let me have a look |
20:49
π
|
quercus |
i'm "working within limitations" apparently. :P |
20:49
π
|
Smiley |
VBoxManage controlvm Archiveteam-Warrior-2 nic 1 bridged |
20:49
π
|
Smiley |
I think. |
20:51
π
|
quercus |
invalid nic number :\ |
21:06
π
|
Smiley |
0 ? |
21:08
π
|
quercus |
tried 1 and 0 |
21:14
π
|
Smiley |
hmmmm |
21:14
π
|
Smiley |
try nic1 |
21:14
π
|
Smiley |
no space |
21:14
π
|
quercus |
VBoxManage: error: Missing argument to 'bridged' |
21:17
π
|
Smiley |
VBoxManage controlvm Archiveteam-Warrior-2 nic1 |
21:17
π
|
Smiley |
what does that say? |
21:18
π
|
quercus |
VBoxManage: error: Missing argument to 'nic1' |
21:22
π
|
Smiley |
gah |
21:23
π
|
quercus |
yeah |
21:23
π
|
quercus |
the --help is no use either |
21:23
π
|
Smiley |
VBoxManage modifyvm Γ’ΒΒMyVMΓ’ΒΒ Γ’ΒΒnic1 bridged Γ’ΒΒnictype1 82540OEM Γ’ΒΒbridgeadapter1 eth0 |
21:23
π
|
Smiley |
ah tehre we go |
21:23
π
|
Smiley |
try -nic1 |
21:25
π
|
Smiley |
quercus: |
21:25
π
|
Smiley |
VBoxManage controlvm archiveteam-warrior-2 nick1 bridged bridgeadapter1 eth0 |
21:28
π
|
quercus |
well, it didn't spit an error, so that's something |
21:40
π
|
Smiley |
:D |
21:40
π
|
Smiley |
check your router, see if you saw something request an IP. |
21:40
π
|
Smiley |
errr not "nick1" nic1 ;D |
21:44
π
|
quercus |
oh yeah, i did that. i'm just trying to find the new ip |