Editing firewall rules: adding ip addresses into firewall rule

I foud a out to use "netsh advfirewall firewall set rule name = "name" new remoteip=1.1.1.1" for setting an ip address into a rule.
But how can I add an ip to the rule? In this case I would replace the IP adresses and not add one.
Background is that I have a firewall rule on my FTP Server to block several ip ranges due normal brute force attacks. This works but I plan to write a program for this to do this automaticly. So I need to append the list.
Any hints?

Thank you for the reply.
Meanwhile I found a way which is ok for me.
Background:
I have a public FTP which I want to limit the access to my country only because this would be enough. The advantage of doeing this is that I can avoid bruteforce attacks from other countries (mostly from Asia).
I wrote a text file with the information which is needed for the netsh. Here I can modify the text.
In this script I looked for the provider addresses from ripe.net.
pushd advfirewall
set store gpo=<policy>
popd
pushd advfirewall firewall
set rule name="FTP (eingehend)" new remoteip=194.25.0.0/16,193.158.0.0/16,193.159.0.0/16,195.145.0.0/16,62.156.0.0/16,195.243.0.0/16,62.157.0.0/16,212.184.0.0/16,212.185.0.0/16,62.158.0.0/16,62.159.0.0/16,62.155.0.0/16,62.154.0.0/16,62.153.0.0/16,62.224.0.0/16,62.225.0.0/16,62.226.0.0/15,217.0.0.0/13,217.80.0.0/12,217.224.0.0/11,80.128.0.0/11,81.28.64.0/20,84.128.0.0/10,87.128.0.0/11,87.160.0.0/11,91.0.0.0/10,79.192.0.0/10,93.192.0.0/10,160.44.0.0/16,164.16.0.0/12,164.32.0.0/15,164.34.0.0/16,195.50.128.0/19,195.50.160.0/19,212.144.0.0/16,145.253.0.0/16,145.254.0.0/16,213.23.0.0/17,213.23.128.0/17,82.82.0.0/15,84.56.0.0/13,88.64.0.0/12,92.72.0.0/13,94.216.0.0/13,188.96.0.0/12,212.59.32.0/19,81.14.128.0/17,89.182.0.0/15,89.182.0.0/15,89.14.0.0/15,77.176.0.0/12,93.128.0.0/13,95.112.0.0/12,151.189.128.0/17,151.189.64.0/18,151.189.0.0/18,80.226.0.0/16,90.186.0.0/15,77.24.0.0/15,193.254.128.0/19,193.254.160.0/20,80.187.0.0/16,88.128.0.0/16,212.23.96.0/19,92.116.0.0/15,188.46.0.0/16,193.100.0.0/15,193.96.0.0/14,193.102.0.0/16,193.103.0.0/16,194.115.0.0/16,194.139.0.0/16,194.172.0.0-194.175.255.255,193.155.0.0/16,195.124.0.0-195.127.255.255,213.68.0.0/16,213.69.0.0/16,213.70.0.0/15,195.90.0.0/19,195.158.160.0/19,212.202.0.0/16,213.160.0.0/19,213.148.128.0/19,217.146.0.0/16,212.60.192.0/18,83.236.0.0/16,84.245.128.0/18,87.193.0.0/16,87.234.0.0/16,92.192.0.0/11,83.169.128.0/18,88.134.0.0/16,91.64.0.0/14,77.20.0.0/14,95.88.0.0/14,188.192.0.0/14,195.80.192.0/19,195.32.128.0/17,212.63.32.0/19,212.5.0.0/19,212.4.160.0/19,212.84.192.0/18,212.110.192.0/19,212.105.192.0/19,194.140.96.0/19,62.145.0.0/19,212.99.128.0/18,212.99.192.0/19,62.206.0.0/16,62.8.128.0/17,217.78.160.0/20,213.217.64.0/18,82.113.96.0/19,89.204.128.0/19,194.97.0.0/16,62.104.0.0/16,195.20.224.0/19,212.227.0.0/16,213.165.64.0/19,217.72.192.0/20,217.160.0.0/16,2.165.0.0/16,87.106.0.0/16,93.122.0.0/17,193.254.128.0/19,193.254.160.0/20,80.187.0.0/16,88.128.0.0/16,172.16.0.0/16

Similar Messages

  • Trying to access server remotely. Have Static IP from ISP but if I type that address into browser I get router login page. How do I get RDP

    Hi Guys, Please help.  I am trying to run remote desktop from internet.  I have just been given a static IP address from my ISP and when I type it into browser I get router login page.  I want to be able to use Remote Desktop.  I can
    use RDP on the LAN and works great but not from external (internet).  I don't know how to get static IP address to open windows login page or RDP to connect when I put IP address into RDP..  I have Windows 2003 server running. 

    Check your router for free ports. You may use http port number "80" to port forward the request to your server. In your firewall settings, create a new rule to allow incoming http request. Before that enable NAT in your router for LAN and assign
    a static IP address for the server machine. It would make port forwarding easier.

  • HT202667 I cannot change prime email address into what WAS my backup email address. Any solutions?

    Need to change prime email address into what WAS my backup email address.
    Can this be done?
    Mac 10.6 Intel Core 2 Duo

    Hi michaelfromripley,
    Thanks for the question.  If you first change your rescue email address to a different email address, then you should be able to change your primary email address for your Apple ID.  The following resources will explain more:
    Manage your Apple ID primary, rescue, alternate, and notification email addresses - Apple Support
    http://support.apple.com/en-us/HT201356
    Add, change, or delete the several types of email addresses you can use with your Apple ID account.
    Primary email address
    Every Apple ID account has one primary email address, and that address is your Apple ID. When you create an Apple ID, you enter the primary address to use as your Apple ID.
    Your primary address is also the contact email address for your account. Check it regularly, because it receives email that you need to manage your account. For example, before you can use a new or changed Apple ID, you need to verify it as directed in a verification email that Apple sends to that address. Didn't receive the email?Rescue email address
    A rescue address helps secure your Apple ID account against unauthorized access by someone who gains control of your primary address. If you have a rescue address, it receives all security-related Apple ID email instead of your primary address, including the email needed to reset your password or security questions.
    Go to My Apple ID (appleid.apple.com).
    Select “Manage your Apple ID” and sign in.
    Select “Password and Security” on the left side of the page. You may be asked to answer one or more security questions before continuing. Forgot the answers?
    If you see a list of three security questions, your account has the option to use a rescue address.
    Accounts that have fewer than three questions don't have and don't need a rescue address.
    Accounts that use two-step verification don't have and don't need a rescue address or security questions.
    Add a rescue address:
    Select Add Email Address, then enter your rescue address. Apple will send a verification email to that address. Didn't receive the email?
    Follow the instructions in the email to verify the address. If you don't verify the address, security-related email continues to go to your primary address.
    Edit a rescue address:
    Select Edit next to the address, then enter the new address. Apple will send a verification email to that address. Didn't receive the email?
    Follow the instructions in the email to verify the address. If you don't verify the address, security-related email continues to go to your primary address.
    Delete a rescue address: Select Delete next to the address.
    Alternate email address
    You can add one or more alternate email addresses for use with Apple services such as Game Center, FaceTime, Find My Friends, iMessage, and OS X notifications.
    Go to My Apple ID (appleid.apple.com).
    Select “Manage your Apple ID” and sign in.
    Add an alternate address:
    Select Add Email Address, then enter your alternate address. Apple will send a verification email to that address. Didn't receive the email?
    Follow the instructions in the email to verify the address.
    Edit an alternate address:
    Select Edit next to the address, then enter the new address. Apple will send a verification email to that address. Didn't receive the email?
    Follow the instructions in the email to verify the address.
    Delete an alternate address: Select Delete next to the address.
    Notification email address
    A notification address is automatically added to your account in certain circumstances:
    If you have a rescue address and turn on two-step verification, that address automatically becomes your notification address. With two-step verification, you don't need a rescue address.
    If you provide an email address with your shipping information when you purchase from the Apple Online Store, that address automatically becomes your notification address.
    Your primary address receives a copy of all Apple ID email that Apple sends to your notification address.
    Go to My Apple ID (appleid.apple.com).
    Select “Manage your Apple ID” and sign in.
    Edit a notification address:
    Select Edit next to the address, then enter the new address. Apple will send a verification email to that address. Didn't receive the email?
    Follow the instructions in the email to verify the address.
    Delete a notification address: Select Delete next to the address.
    Apple email related to your Apple ID account always comes from [email protected]. If you receive suspicious email, learn about identifying fraudulent email.
    Last Modified: Dec 22, 2014
    Change your Apple ID - Apple Support
    http://support.apple.com/en-us/HT202667
    Learn how to change the email address that you use as your Apple ID.
    In most cases, your Apple ID is also the primary email address of your Apple ID account. You can change your Apple ID to any other email address you control, as long as it's not already in use as an Apple ID. If your email address ends with @icloud.com, @me.com, or @mac.com, it's already an Apple ID. 
    Use these steps to reset your Apple ID:
    Sign out of iCloud, the iTunes Store, App Store, FaceTime, Find My Friends, Find My iPhone, and iMessage on each device that uses your current Apple ID for these services.
    Go to My Apple ID.
    Select Manage your Apple ID and sign in. Forgot your password?
    Select Edit next to Apple ID and Primary Email Address.
    Enter the email address that you want to use as your Apple ID, then select Save Changes. Apple will send a verification email to that address.
    Open the email from Apple, then click Verify Now. Didn't receive the email?
    When the My Apple ID page opens, sign in with your new Apple ID email address and password. When you see a message that verification is complete, you can start using your updated Apple ID.
    Update the features and services that you use with Apple ID, so that each one is using your updated Apple ID.
    If you need to change the Apple ID that's signed in to your iOS device, use these steps to sign out, then back in with a different Apple ID.
    Last Modified: Dec 11, 2014
    Cheers!
    - Judy

  • I use to drag and drop an web address into a link toolbar, can't seem to figure out how to do this...?

    I just upgraded to Windows 7 and with it I got the latest Firefox. There is nothing like learning 2 things at one time. On my old XP and 3.? all I have to do was drag and drop a web address into a link toolbar. Saving all my frequent visited or just sights I want quick access to, to a toolbar quick button. I have been playing with this for days and decided to try this Forum. I did find the Bookmark toolbar, but cant seem to figure out what is if for or if you can drop into it. When I right click it and Customize, it shows me add on buttons, but nothing to do with web addresses or alike...
    Bottom line; I want to be able to drag and drop a web address into a toolbar for recall latter and be able to edit the address with a right click at a latter date in necessary...
    Thanks, Mike

    You can drag and drop the favicon also known as the [https://support.mozilla.com/en-US/kb/Site+Identity+Button site identity button], at the left hand edge of the location bar onto a toolbar to bookmark the site.

  • Importing mass email addresses into Address Book?

    My boss just got a new Blackberry and wants to sync her contacts. Unfortunately, she is not very good at making address book entries.
    Is there a way to quickly import any email address into Address Book? She doesn't need the everything edited with name, address, etc...since she knows most of these people by their email address more than their first/last names!

    They aren't located anywhere. She has all her email messages archived in Mail.app for the last 3 years so she'd like to extract them from there.
    Is there some kind of built-in email address list in Mail.app, because it seems to auto complete any email address she types despite it not being in the Apple address book app.

  • Edit live rules in Oracle 11g SOA Suite

    Is it possible to edit live rules in the 11g SOA suite stack? I am looking for the same functionality that was delivered via the ruleauthor web site in the 10g stack.
    Additionally is it possible to publish rule sets into an environment without building a deployable artifact. WebDAV support has been dropped in favour of MDS however I am not sure if it is possible to publish an update to business rules without editing the rules in JDev then rebuilding a deployable version of the rules within an app.
    Regards
    Neil

    Will a web interface, similar to the ruleauther, be provided by Oracle for the 11g stack. If so when will this be available?
    It seems odd that functionality has been removed from the 11g stack. By not providing the functionality within the 10g stack many people will find the upgrade painful especially if custom applications have to be writhen to provide functionality that was available within the previous release.
    Regards
    Neil

  • Unable to create or edit AD (mail) contacts in address book

    Hi!
    I recently imported quite a list of contacts from an old CRM application into Exchange. All entries are nicely created in domain.local\company\location\Contacts. All fields are visible in Outlook under All Address Lists\All Contacts.
    As we have a small company, just a few users, I want to give most of them the rights to create and update entries in the All Contacts folder, just as they were used to in the old app.
    I started by creating role groups following this article:
    http://blogs.technet.com/b/rmilne/archive/2013/08/07/creating-rbac-role-to-delegate-contact-management.aspx
    I created an Admin Role group named Contact Administration, which contains the required Members, and I assigned two role groups to this group: Contact_Management, which is based on the Mail Recipient Creation parent group, and Contact_Management_2,
    which is based on the Mail Recipient parent group. The Write Scope is: domain.local\company\location\Contacts.
    Because this didn't result in anyone being able to update the contacts, I also created a group in Active Directory and delegated control on the contacts OU to this group, even though I think this doesn't add to the desired result (as it indeed didn't).
    What am I missing here? Any help will be greatly appreciated!

    Hi
    As per the information and details provided by you, to create or edit a mail contact in address book, please follow these steps: -
    Use the Shell to create a contact
    This example creates mail contact for Debra Garcia in Exchange Server 2013
    New-MailContact -Name "Debra Garcia" -ExternalEmailAddress [email protected] -OrganizationalUnit Users
    This example creates a mail contact for Alan Shen in Exchange online.
    New-MailContact -Name "Alan Shen" -ExternalEmailAddress [email protected]
    3.     This example mail-enables an existing contact named Karen Toh in Exchange Server 2013.
    Enable-MailContact -Identity "Karen Toh" -ExternalEmailAddress [email protected]
    To add a contact: -
    You can use the EAC to change selected properties for multiple mail contacts. When you select two or more mail contacts from the contacts lit in the EAC, the properties that can be bulk edited are displayed in the Details pane. When you change one of these properties, the change applies to all selected recipients.
    When you bulk edit mail contacts, you can change the following properties areas: -
    ·        Contact Information: - Change shared properties such as street, postal code, and city name.
    ·        Organization: - Change shared properties such as department name, company name, and the manager that the selected mail contact or mail users report to.
    I hope this information will be helpful for you.
    Thanks and regards
    Shweta@G

  • Editing Business Rules at Runtime

    Hi All,
    I reviewed this doc http://edocs.bea.com/albsi/docs60/resources/ALBPM6.0_NewFeaturesOverview.pdf and wrote my first business rule in ALBPM. I use the rule to determine transition in my business process.
    One of the benefits of business rules is allowing business analysts changing the rules at runtime. The business rule I created does not show up in my workspace. If I'm a business analyst and I want to change the rule, how can I do that? Do I have to open ALBPM designer/studio and change it there? If that is the case, I don't see how it is different from a developer changing it.
    I'd like to get your thoughts on this, and if there is anything I can do to make the business rules easier accessible to the business folks.
    Thanks!

    Hi,
    To allow end users to edit a business rule in the Workspace, in Studio:
    1) add a Global activity in the process
    2) right mouse click it -> "Main Task" -> click "Implementation type" and select "Edit Business Rules"
    3) in the column on the right side, change the business rules you want the end user to edit from "No" to "Yes"
    4) republish and deploy and log in as a user who is assigned the role where you added the Global activity (if the user was already logged in, log out and log back in).
    Hope this helps,
    Dan

  • Editing Business Rules

    Hi All,
    I am using Hyperion Planning 11.1.1.1.0 and have a classic planning application.
    I created a few business rules using the Essbase Administrative Services Console.
    Now I need to let one of the users modify certain values used in the buisness rule. One way is to allow the user to access EAS Console and then edit the rule.
    However for a business user its not a very ideal way of editing the rules.
    Can somebody please suggest if at all there is some other way by which the user can modify the business rule without getting into much of a coding thing and out of EAS Console?
    Thanks in Advance.
    Regards.
    Alicia

    Hi,
    If you are using classic planning and in the first release of planning the only way to edit business rules is via EAS.
    I wouldn't really expect standard business users to be editing business rules, maybe the occasional user who has knowledge of business rules.
    Does the user really need to update code? Are run time prompts not enough. Should it not be a superuser or admin making these changes.
    In later versions of V11 there is also calc manager for classic planning though I am not a fan of this yet and feel it has a long way to go.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Importing Mac OS 9/Multiple Users/Netscape 4.8 addresses into Address Book

    Hello there,
    my wife has made the leap from Mac OS 9.2.2 to Mac OS X 10.4.3, and we're trying to figure out how to import her Netscape 4.8 addresses into Address Book. The complicating factor is that her computer ran with Multiple Users under Mac OS 9; as the Classic environment doesn't seem to be able to run as a particular Mac OS 9 "Multiple User", we're unable to run Netscape within the Classic environment as her "Multiple User" to allow the export of her addresses for subsequent importation by Address Book. We did find an existing LDIF file on the hard drive at Users:her user:Preferences:Netscape Users:her e-mail:Contacts Export.ldif that we were able to import, but it didn't seem to contain a complete set of her addresses.
    Can you recommend a way to obtain her full set of addresses? Do you know which Netscape file contains the addresses? If need be, that file can be copied, selectively edited, and its addresses can be manually reëntered; but naturally a less time-consuming solution would be preferable. Alternatively, would it be possible to run within the Classic environment as a particular "Multiple User", so that the addresses could be exported within Netscape?
    Thanks for your assistance!
    Sheepnose
      Mac OS X (10.4.3)  

    Here’s a summary of what I wound up doing. I downloaded the current version of Netscape for Mac OS X at http://ftp.netscape.com/pub/netscape7/english/7.2/mac/macosx/sea/Netscape-MachO. dmg.gz and used it to import the addresses from the Users:her user:Preferences:Netscape Users:her e-mail:pab.na2 file. (It turns out that the pab.na2 file has the latest address book data.) This was done by cancelling the New Account Setup, then choosing Tools/Import …/Address Books/Communicator 4.x. I then exported the just-imported data by going to Netscape 7.2’s Address Book window, selecting the “nab” address book, and choosing Tools/Export … in LDIF format, followed shortly by importing the newly created LDIF file into Address Book. Unfortunately the groups didn’t survive the exodus, and had to be manually reässembled within Address Book. There also seemed to be minor data loss in Notes fields — namely, all Notes text following a colon went missing. However, that was readily worked around by restoring via copy/paste from Netscape 7.2 to Address Book. Given these caveats, the Netscape 4.8 address book data have now been reconstituted as Address Book data. I hope that this summary might prove useful to anyone else who might be facing a similar task, and would appreciate it if anyone who finds an easier way to do this would post their findings.
    Sheepnose

  • Update deleted my tabs, made Close Tab buttons vanish and made entering an address into a tab not work

    Had some problems with Firefox being ridiculously slow yesterday, so I updated in the hope of speeding it up. Big mistake. Firstly, the 54 tabs I use for work were all replaced with Fast Dial screens. Assuming the add-on had gone rogue, I removed it, but am still having more problems.
    All my tabs have gone mad. For one thing, any time I open a new tab, enter an address into the address bar and press Enter, or select an address from the Autocomplete menu, it does nothing. Only if I click a link that opens in a new tab can I open a new tab and get it to navigate to an actual address, but then, I can't access my other tabs until I've closed the new one. Also, all the Close Tab buttons have vanished from my tabs. To fix this, I have already tried:
    a) Disabling hardware acceleration, which made no difference.
    b) Starting in Safe Mode, which worked, so I went through my add-ons, narrowing it down. The problem appeared to be caused by Tab Utilities, so I disabled it, which solved the address entering problem. However, the Close Tab buttons were still absent, so I made the mistake of trying to find another tab management add-on that would be compatible with this version of Firefox. Found out the hard way that Tab Mix Plus and Tab Utilities Lite aren't, because the previous problem returned, but even now I've disabled both those add-ons (I think: can't double-check without closing this tab and losing the message), I still can't navigate to addresses in new tabs or look at any tab other than the most recent one I have open.
    Any ideas what to do about this, please?

    To check extension status, you can open a new instance of the Add-ons page by pressing Ctrl+Shift+a. This should open in a new tab next to the current tab. When disabling an extension, it often is necessary to restart Firefox before it actually is disabled (in that case, Firefox shows a link above the extension). To close that tab, you can use Ctrl+w.
    I'm not sure why Tab Mix Plus would cause a problem using the address bar. Perhaps it is interacting with another add-on??
    Could you describe the problem with the close tab buttons in more detail? Previously, it was possible to easily ''hide'' them on background tabs but now if the background tabs are wide enough they are always visible. There probably is a custom style rule (user style) to tackle that issue, but I'm not sure that's the problem you're having.
    Not sure if this is relevant, but the Facebook Disconnect, Google Disconnect, and Twitter Disconnect extensions have been superseded by the (consolidated) Disconnect extension. They've switched from having individual icons inside the address bar to a single D button on the toolbar. Maybe that will help?

  • Can I receive emails from 2 different addresses into a single account using TB?

    I want to combine all emails from both addresses into a single account in TB.
    I have already tried adding the 2nd account using "Manage Identities" but it did not work for me. The default is gmail and the 2nd is not.

    Can you explain this?
    I found this on Mozilla site. But, in my updated TB, i can find no such thing as a "root" folder that shows all incoming emails. only the "Child" folders show.....
    '''Unified Folders'''
    Unified Folders (originally named Smart Folders when it was added in 3.0) is a folder pane view which looks like a global inbox account by merging the contents of all inbox folders (both POP, IMAP and local folders) from all accounts. It also shows the inbox of each account as a child folder of the unified Inbox account. Any messages in an inbox shows up in both the root of the unified Inbox, plus the child folder of the unified Inbox for that account.
    Each account still displays any child folders of the inbox, only its inbox folder has been "moved" away from the account. This does not, however, change where and how messages are stored. In other words, Unified is just another way to view your folders, similar to what you can do with a saved search (a type of virtual folder).
    Use View -> Folders -> Unified Folders to select it. If you don't want to use it, use View -> Folders -> All Folders to select a more traditional display. Thunderbird 10 eliminated the ◄► arrows at the top of the folder pane that you could use to cycle between different views.

  • Deleting auto added email addresses

    How can I delete auto added and wrong email addresses ?
    Doe the new o's 5.1 do this ?

    The only way that I know of to delete incorrect or old email addresses is to restore the iPad back to defaults (which I assume that you don't want to do) - I'm not aware of anything having been added in iOS 5.1 that allows you to edit that list of email addresses. You could try leaving feedback, and maybe in a future update we'll be able to : http://www.apple.com/feedback/ipad.html

  • HT3529 I have just bought an iPad I have typed in email addresses into Contacts, but when I try to send a message most of them come up within red with an !. Then it will not let me send! This is sapping my confidence ! Please help if possible!

    I have typed in email addresses into Contacts, but when I try to do an email, most of them have an exclamation mark and won't let me send! Where am I going wrong ? It is really sapping my confidence!

    Did you set up your email account info in Settings?
    Settings > Mail, Contacts, Calendar > Accounts > your account should be listed in there with the appropriate incoming and outgoing mail servers and correct user names and passwords.

  • How to add multiple e-mail addresses into my iPad Contacts?

    I just received an e-mail with 40 addresses in the distribution list. Now I want to add all of the addresses into my iPad Contacts. How can I do this in one operation rather doing each of the 40 addresses individually?

    Unfortunately you can't add all at once. But you save a lot of time by the copy/paste method (double-tap at a mail address, tap "copy", go to the "Contacts" app, enter the contact you want to paste the address in, tap "Mail address", then double tap again and tap "paste").

Maybe you are looking for