LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-08-2014, 08:22 AM   #16
myatthu
Member
 
Registered: Jan 2014
Distribution: CentOS, Fedora, Ubuntu
Posts: 108

Rep: Reputation: 18

Yeah. We might need to check masquerade rule and routing at windows

Router
Code:
iptables -t nat -vnL
Windows
Code:
netstat -nr
 
Old 02-08-2014, 10:43 AM   #17
IICUX
LQ Newbie
 
Registered: Jun 2012
Posts: 11

Original Poster
Rep: Reputation: Disabled
iptables on router. Windows machine will be later
Code:
Chain PREROUTING (policy ACCEPT 1430 packets, 110K bytes)
 pkts bytes target     prot opt in     out     source               destination         
  575 33047 VSERVER    all  --  *      *       0.0.0.0/0            94.248.27.112       

Chain POSTROUTING (policy ACCEPT 1063 packets, 238K bytes)
 pkts bytes target     prot opt in     out     source               destination         
  417 32451 MASQUERADE  all  --  *      ppp0   !94.248.27.112        0.0.0.0/0           
   56 14483 MASQUERADE  all  --  *      br0     172.16.2.0/24        172.16.2.0/24       

Chain OUTPUT (policy ACCEPT 926 packets, 241K bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain VSERVER (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 DNAT       udp  --  *      *       0.0.0.0/0            0.0.0.0/0           udp dpt:18432 to:192.168.1.153:18432 
    0     0 DNAT       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:18432 to:192.168.1.153:18432 
    0     0 DNAT       udp  --  *      *       0.0.0.0/0            0.0.0.0/0           udp dpt:4500 to:192.168.1.153:4500 
    0     0 DNAT       udp  --  *      *       0.0.0.0/0            0.0.0.0/0           udp dpt:5353 to:192.168.1.153:5353 
    0     0 DNAT       udp  --  *      *       0.0.0.0/0            0.0.0.0/0           udp dpt:42387 to:172.16.2.178:42387 
    0     0 DNAT       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:42387 to:172.16.2.178:42387 
    8   368 DNAT       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:3389 to:172.16.2.2:3389 
   24  1631 DNAT       udp  --  *      *       0.0.0.0/0            0.0.0.0/0           udp dpt:64694 to:172.16.2.2:64694 
   58  3064 DNAT       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:64694 to:172.16.2.2:64694
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] /etc/network/interfaces configuration for virtual interfaces nonshatter Linux - Networking 4 10-25-2010 06:22 AM
IP Routing between interfaces. mpr104 Linux - Networking 2 11-05-2006 01:19 AM
Routing between 2 interfaces? m4rk0 Linux - Networking 18 03-08-2006 01:08 AM
Routing between interfaces? cryptical Linux - Networking 13 08-18-2004 07:29 AM
Problem with routing between interfaces Kostko Linux - Networking 6 12-01-2003 01:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration