LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 08-14-2010, 05:33 AM   #1
fdelval
Member
 
Registered: Feb 2010
Posts: 107

Rep: Reputation: 15
shorewall; virtual interfaces and ppp0


hello, i have:

eth0 with 192.168.1.0 subnet
and
eth0:0 with 192.168.30.0 subnet

From eth0 i can only permit samba connections to eth0:0
From eth0:0 i can only permit http connections to eth0

Should i create another zone?
help on this pls



Also, second question.
I have always worked with ethernet cards, but now i want to expand and i usually hear about pppX devices...
can someone explain me about them? so can i connect a xDSL cable to them and directly work without the isp router??
 
Old 08-14-2010, 07:12 AM   #2
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
For your first question, you need to set appropriate rules where bot source and destination zone are the same. It is impossible to tell where you are stuck without you posting shorewall config files (and iptable-save would be nice).

I use webmin and it's integrated shorewall config page, but I found out that for setting up virtual interfaces you need to edit config file directly, via "Edit file manually" button.

As for pppX intefaces, yes, you can setup PPPoE or PPPoA connection, avoiding ISP's router, but I would recomend against it. That router is permanent firewall against intrusions into your home/office network, weather you mess with firewall on your PC.

Also, with separate router you can connect several PC's without the need that your PC is ON and properly set-up. Router also always remembers your PPPoE username and password so you can not loose or forget it when you reinstall your PC.

Last edited by DrLove73; 08-14-2010 at 07:17 AM.
 
  


Reply



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
Shorewall DMZ w/2 Interfaces...? rootking Linux - Software 0 04-15-2009 01:00 AM
Selecting between two network interfaces, eth0 and ppp0. pavankc Linux - Newbie 1 11-25-2008 09:45 AM
Help with virtual interfaces swordphsh Linux - Networking 5 09-16-2008 01:19 PM
Virtual Interfaces geony Linux - Networking 6 02-13-2005 11:25 AM
Virtual Interfaces da_tibmeister Linux - Networking 2 10-15-2003 09:32 AM

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

All times are GMT -5. The time now is 06:35 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