/etc/network/interfaces
Code:
auto eth0
iface eth0 inet static
address 192.168.1.50
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.10
auto eth0:0
iface eth0:0 inet static
address 192.168.1.55
netmask 255.255.255.0
/etc/hosts
Code:
192.168.1.50 server.mydomain.com server
192.168.1.55 samba.mydomain.com samba
/etc/hostname
Code:
server.mydomain.com
/etc/Bastille/bastille-firewall.cfg
Code:
TRUSTED_IFACES="lo" # MINIMAL/SAFEST
PUBLIC_IFACES="eth+ ppp+ slip+ venet+" # SAFEST
INTERNAL_IFACES="" # SAFEST
/etc/init.d/bastille-firewall restart
complains about special characters and virtual hosts if I do:
Code:
INTERNAL_IFACES="eth0:0"
In the ISPConfig Control Panel I can add another IP address to the server but if I add an IP address I get:
server.mydomain.com 192.168.1.50
server.mydomain.com 192.168.1.55
If I could make:
server.mydomain.com 192.168.1.55
be:
samba.mydomain.com 192.168.1.55
I could just open up the ports 137-139,445 using ISPConfig firewall on .55
Doing a lot of digging around the forum I came across this thread:
http://www.howtoforge.com/forums/showthread.php?t=6209
I am not familiar enough with IP Tables yet to carve out my own solution using that thread.
Basically the end goal is for a router to forward to .50 and .55 be used locally.
Recent comments
21 hours 50 min ago
1 day 45 min ago
1 day 1 hour ago
1 day 3 hours ago
1 day 5 hours ago
1 day 6 hours ago
1 day 7 hours ago
1 day 23 hours ago
2 days 30 min ago
2 days 4 hours ago