nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

How to connect the Mail Server running on Guest OS of VMWare

This is a discussion on How to connect the Mail Server running on Guest OS of VMWare within the Mail Servers forums, part of the Mastering Servers category; Hi folks, Ubuntu 7.04 server amd64 (Host OS) CentOS 5 x86_64 (Guest OS) VMWare Server CentOS 5, inet addr - ...


Go Back   nixCraft Linux Forum > Mastering Servers > Mail Servers

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 01-11-2008, 06:41 PM
Member
User
 
Join Date: Sep 2007
My distro: Debian
Posts: 81
Rep Power: 1
satimis is on a distinguished road
Default How to connect the Mail Server running on Guest OS of VMWare

Hi folks,


Ubuntu 7.04 server amd64 (Host OS)
CentOS 5 x86_64 (Guest OS)
VMWare Server
CentOS 5, inet addr -


I have only one fixed IP alloted by ISP and one domain. They are used by Ubuntu. How can I connect the Mail Server/Web server running on CentOS 5? TIA


Edit:

Network connection;

Server -> Router -> DSL Modem -> Internet

The router is on loan from ISP. They use it as gateway. I can't touch it.

Intranet IP address (router ip addr)
Ubuntu - 192.168.0.10
CentOS - 172.16.103.128 ( found with ifconfig)

Only one NIC on the PC


B.R.
satimis

Last edited by satimis; 01-11-2008 at 08:15 PM.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-11-2008, 10:52 PM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 554
Rep Power: 6
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Default

You can't until and unless router is pre configured for port forwarding. Most ISP allows to modify ISP setting even if it is on loan. Tell them you need port forwarding. What is the use of internet if it is not supporting port forwarding?
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote
  #3 (permalink)  
Old 01-12-2008, 06:44 PM
Member
User
 
Join Date: Sep 2007
My distro: Debian
Posts: 81
Rep Power: 1
satimis is on a distinguished road
Default

Quote:
Originally Posted by rockdalinux View Post
You can't until and unless router is pre configured for port forwarding. Most ISP allows to modify ISP setting even if it is on loan. Tell them you need port forwarding. What is the use of internet if it is not supporting port forwarding?
Sorry I'm not clear of the term "port forwarding" on router. Please advise and how can I check it. Ports 25, 80, 443, etc. are open.

satimis
Reply With Quote
  #4 (permalink)  
Old 01-14-2008, 09:49 AM
Member
User
 
Join Date: Sep 2007
My distro: Debian
Posts: 81
Rep Power: 1
satimis is on a distinguished road
Default

Hi rockdalinux


Performed following test w/o success

1)
On Ubuntu

connect CentOS
$ ssh 172.16.103.128
satimis@172.16.103.128's password:
$ su -
Password:

# ifconfig
Code:
eth0      Link encap:Ethernet  HWaddr 00:0C:29:1D:65:AD  
          inet addr:172.16.103.128  Bcast:172.16.103.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:29ff:fe1d:65ad/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:83 errors:0 dropped:0 overruns:0 frame:0
          TX packets:107 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:10046 (9.8 KiB)  TX bytes:16808 (16.4 KiB)
          Base address:0x1070 Memory:ec820000-ec840000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:560 (560.0 b)  TX bytes:560 (560.0 b)
# ifconfig eth0:0 192.168.0.20
No complaint

# ifconfig
Code:
eth0      Link encap:Ethernet  HWaddr 00:0C:29:1D:65:AD  
          inet addr:172.16.103.128  Bcast:172.16.103.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:29ff:fe1d:65ad/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:469 errors:0 dropped:0 overruns:0 frame:0
          TX packets:447 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:256458 (250.4 KiB)  TX bytes:70495 (68.8 KiB)
          Base address:0x1070 Memory:ec820000-ec840000 

eth0:0    Link encap:Ethernet  HWaddr 00:0C:29:1D:65:AD  
          inet addr:192.168.0.20  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Base address:0x1070 Memory:ec820000-ec840000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:560 (560.0 b)  TX bytes:560 (560.0 b)
# /etc/init.d/network restart
Code:
Shutting down interface eth0:                              [  OK  ]
Shutting down loopback interface:                          [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface eth0:  
Determining IP information for eth0... done.
                                                           [  OK  ]
# /etc/init.d/httpd start
Code:
Starting httpd:                                            [  OK  ]
Called IP requesting to make following change;

forward port 8080 to IP addr 192.168.0.20


On Ubuntu
$ sudo /etc/init.d/apache2 stop
Code:
 * Stopping web server (apache2)...                                      [ OK ]
On Firefox;
running:-
http://www.satimis.com
http://www.satimis.com:8080 (just hanging)
http://www.satimis.com/8080

https://www.satimis.com
https://www.satimis.com:8080 (just hanging)
https://www.satimis.com/8080

All failed.


2)
On CentOS Firefox running;
localhost

start
Code:
Apache 2 Test Page
powered by CentOS
Any advice? TIA


B.R.
satimis
Reply With Quote
  #5 (permalink)  
Old 01-14-2008, 04:52 PM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 554
Rep Power: 6
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Default

You need to open router web based interface (or run telnet on router). Provide admin user/password. Find out port forwading. Enable it for internal IP.
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote
  #6 (permalink)  
Old 01-29-2008, 03:36 PM
Member
User
 
Join Date: Sep 2007
My distro: Debian
Posts: 81
Rep Power: 1
satimis is on a distinguished road
Default

Quote:
Originally Posted by rockdalinux View Post
You need to open router web based interface (or run telnet on router). Provide admin user/password. Find out port forwading. Enable it for internal IP.
Hi rockdalinux,


Could you please provide more details. TIA


The router is provided by ISP with password locked. I can't touch it.

Connection;
Mail Server --> router --> DSL Modem


Port 8080 is forward to 192.168.0.20, CentOS IP addr. I made such a request to ISP and reconfirmed it afterwards.


On Ubuntu and other PC on the same network, I can ping;
192.168.0.20 (CentOS IP addr)
ssh 192.168.0.20 (connected)


On CentOS I can ping;
192.168.0.10 (Ubuntu IP addr)
192.168.0.1 (router IP/gateway)


But on Ubuntu and PC on another network, I can't https/http : public_IP:8080


What did you mean "web base interface"? Can I request ISP to do something?


TIA


B.R.
satimis
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Vmware server centos install raj Linux software 2 07-13-2008 04:56 PM
VMware ESX server && Solaris 10 on same PC ?? vikas027 Linux software 1 11-24-2007 10:52 AM
about new mail server setup jhn_daz@yahoo.com Mail Servers 2 11-01-2007 09:43 AM
PPTP connect vpn Linux server raj Networking, Firewalls and Security 0 07-29-2007 05:29 AM
install and configure vmware server on Ubuntu Linux server raj Linux software 1 07-17-2006 11:21 PM


All times are GMT +5.5. The time now is 06:13 AM.


Powered by vBulletin® Version 3.7.2 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36