Hello,
for security reasons I am running aMule inside VirtualBox. Guest and Host systems are Linux (to be more specific Arch 64 distro).
My Host system has public ip directly connected to internet (no router).
Guest System i almost pure after installation (no iptables).
I'd like to setup three ports for aMule: 4884, 4885, 4887.
I'd love to use NAT VirtualBox interface, if possible.
For this case I've made following forwarding rules:
VBoxManage modifyvm "$vm" --natpf1 "amule_u4,udp,,4884,,4884"
VBoxManage modifyvm "$vm" --natpf1 "amule_u5,udp,,4885,,4885"
VBoxManage modifyvm "$vm" --natpf1 "amule_u7,udp,,4887,,4887"
VBoxManage modifyvm "$vm" --natpf1 "amule_t4,tcp,,4884,,4884"
VBoxManage modifyvm "$vm" --natpf1 "amule_t5,tcp,,4885,,4885"
VBoxManage modifyvm "$vm" --natpf1 "amule_t7,tcp,,4887,,4887"
On Host I've added to /etc/hosts.allow :
# amule
4884: ALL
4885: ALL
4887: ALL
Sanity check made with netcat works:
netcat -l -p 4885 # insider VM
netcat $ip 4885 # from "outside world"
To ensure:
aMule standard TCP Port: 4884
UDP port for server requests (TCP+3): 4887
Extended UDP port (Kad/global search): 4885
But aMule gets only "Low-ID" and "Kad: Firewalled".
Is it possible to configure VM Nat interface and aMule to cooperate nicely ? If yes, how ?
If it is not possbile, why? And how to do this other way?