Hot Downloads



The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: IPCop and VMWare

IPCop and VMWare 11 years 9 months ago #22150

  • dlr
  • dlr's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
I have the following virtual domain set up; IPCop 1.4.15 and 4 Windows 2003 servers, 1 with Exchange 2003, installed in VMWare Server. The “Extra Interfaces” add-on is installed in IPCop allowing the use of a Gray interface that has more flexibility than the IPCop Blue interface. SNAT is also installed in IPCop.

The purpose of this setup is for a Disaster Recovery study. All of the hosting site servers and computers would be behind the remote site firewall with specific rules allowing only access to VPN, webmail and web site in the VMware instance. The clients on LAN2 would have access to the virtual domain as any normal domain with user and group rights, group policy, domain resources, etc...

As shown in this diagram ( ), everything except Client1 is running within a Virtual Server, for now, on a Vista machine. Red interface (external IP) connected to one of the Vista NICs, Client1 connected directly with a crossover cable to the other NIC and set up with a static IP for now.

Red: eth1 – yyy.yyy.yyy.210 – SN
- DNS1 zzz.zzz.zzz.37 – DNS1 zzz.zzz.zzz.144 – GW yyy.yyy.yyy.1
- Bridged with LAN1
Green: eth0 – IP – SN
- Server1: IP – SN – GW
IP – SN – GW
- Server2: IP – SN – GW
Orange: eth2 – IP – SN
- Server3: IP – SN – GW
- Server4: IP – SN – GW
Gray: eth3 – IP10.165.21.129/25 – SN
- Bridged with LAN2
- Allow access to IPCop DNS
- Allow access to Red HTTP
- Allow access to Red DNS
- Allow access to Red TCP, UDP and ICMP
- Client1: IP (st) – SN – GW

Server1 on Green
- can ping eth2 – server3 – server4 – eth3
- cannot ping anything else on Gray
- resolves nslookup query through server1 and can surf the net

Server3 on Orange
- can ping eth0 – server1 – server2 – eth3
- cannot ping anything else on Gray or anything on the outside
- can resolve nslookup query through server3 and can surf the net

Client1 on Gray:
- can ping eth0 – server1 – server2 – eth2
- can ping Server1 by its NetBIOS name
- can map and access shares on Server1
- cannot ping anything on the outside
- resolves nslookup query through server1 and cannot surf the net
- cannot join the virtual domain
- cannot receive DHCP info from Server1

SNAT is installed on IPCop and configured for VPN, WEB and WEBMAIL access. Access to Webmail, the VPN connection and surfing on the website work just fine from an outside computer.

The implemented port forwarding rules are:
7,0,tcp,80,,80,on,yyy.yyy.yyy.203,0.0.0 .0/0,
8,0,tcp,25,,25,on,yyy.yyy.yyy.206,0.0.0 .0/0,
9,0,tcp,80,,80,on,yyy.yyy.yyy.206,0.0.0 .0/0,
10,0,tcp,1:65535,,1:65535,on,10.165.21. 129,,
11,0,udp,1:65535,,1:65535,on,10.165.21. 129,,
12,0,tcp,1:65535,,1:65535,on,10.165.2 1.6,,
13,0,udp,1:65535,,1:65535,on,10.165.2 1.6,,

Gray will need to:
- Join the virtual domain
- Use DHCP on Server1
- Surf the net

Any ideas are welcome! Thanks

wow 11 years 9 months ago #22184


IPCop and VMWare 11 years 9 months ago #22288

  • dlr
  • dlr's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
Here's a simplified diagram pertaining to my problem ( )...

So my problem boils down to:
- What needs to be done for Client1 to be able to join the virtual domain?
- Once on the virtual domain, can Client1 get DHCP settings?
- Why can't Client1 surf the net?

I've messed around with lots of stuff, but no go... I'm not a routing guru!

If needed, Gray clients could get an IP from the IPCop DHCP server. Could
that IP then be NATed to the Green subnet, thus allowing the client to join
the domain and get a DHCP address? Would Iptable entries be the way to go?

Re: IPCop and VMWare 11 years 8 months ago #22577

  • dlr
  • dlr's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
A revised network diagram can be found here ( ). Everything works great EXCEPT the shared folder mapping from a remote VPN client.

The VPN client uses MS VPN to connect to Routing and Remote access that is running on Server4 in the DMZ. The web server has 2 network cards:
- DMZ: IP & – SN – GW
- LAN: IP – SN – No GW

RRAS has a pool of DHCP addresses: – RADIUS authentication is set up with Server1.

Server4 can ping Server1 through the LAN interface. Server1 can access the net through the DMZ interface.

The client connects and authenticates without a problem. It can surf the net and do everything it needs to BUT it cannot ping Server1 or access any shares on that server.

I have the same sort of setup on our production network (minus the VMware server and VPN server on its own box in the DMZ). When connecting by VPN, I can access the equivalent of Server1. The above configuration replicates the production environment.

Any help would be appreciated!

Re: IPCop and VMWare 11 years 7 months ago #22712

  • dlr
  • dlr's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
Ok, got it working now... Whew!! Latest network diagram is here ( ).
What I've done:

- Installed RRAS on Server4 with 1 NIC configured with 2 IPs : and
- Configured RRAS with DHCP scope - and static route dst NIC
- RRAS configured for client Windows Authentication. Server3 holds the user accounts.
- Added all RRAS DHCP IPs to the IPCop DMZ pinholes rules: TCP src dst port 445

The LAN servers on Green could no longer surf the net if there wasn't a Green to Red 1:1 natting using SNATGUI. I had read in one of the IPCop forums that that was an issue. I uninstalled SNATGUI and added the entries manually in rc.firewall.local.

VPN client authenticates and connects fine. It cannot ping and tracert does 2 hops: and then times out. Typical IPCop behavior blocking ICMP from Orange to Green.

Mapping \\\c$ or any other shared folder finally works. VPN clients can now access all LAN (Green) shared folders on the range. If needed, any LAN or DMZ servers can map \\\c$ or any other shared folder on the VPN clients.

Using RADIUS authentication with Server1 will not allow folders on Server1 to be mapped.

Connecting from the Blue interface works too, wired or wireless. IPCop is configured to hand out IPs on the Blue interface. That IP range is also added to the IPCop DMZ pinholes rules: TCP src 10.165.22.xx dst port 445. Blue clients can map anything on the network. Blue clients can also connect to the VPN server, if needed (but I don't see why they would).

So, now everything on the virtual domain works correctly, just like a real domain...
  • Page:
  • 1
Time to create page: 0.109 seconds


Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V


  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup